Skip to content

Commit

Permalink
Merge pull request #592 from ava-labs/test-partial-sync
Browse files Browse the repository at this point in the history
Partial sync for test L1s
  • Loading branch information
cam-schultz authored Dec 13, 2024
2 parents 78d9194 + d7fa482 commit cedbdb4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/alexliesenfeld/health v0.8.0
github.com/ava-labs/avalanchego v1.12.1-0.20241210172525-c7ebd8fbae88
github.com/ava-labs/coreth v0.13.9-rc.1
github.com/ava-labs/icm-contracts v1.0.9-0.20241210181701-a4bd5c92b056
github.com/ava-labs/icm-contracts v1.0.9-0.20241212194240-fc146e9f2342
github.com/ava-labs/subnet-evm v0.6.13-0.20241205165027-6c98da796f35
github.com/aws/aws-sdk-go-v2 v1.32.6
github.com/aws/aws-sdk-go-v2/config v1.28.6
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ github.com/ava-labs/avalanchego v1.12.1-0.20241210172525-c7ebd8fbae88 h1:tZdtOPF
github.com/ava-labs/avalanchego v1.12.1-0.20241210172525-c7ebd8fbae88/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0=
github.com/ava-labs/coreth v0.13.9-rc.1 h1:qIICpC/OZGYUP37QnLgIqqwGmxnLwLpZaUlqJNI85vU=
github.com/ava-labs/coreth v0.13.9-rc.1/go.mod h1:7aMsRIo/3GBE44qWZMjnfqdqfcfZ5yShTTm2LObLaYo=
github.com/ava-labs/icm-contracts v1.0.9-0.20241210181701-a4bd5c92b056 h1:VJDtg5UW4SWBeEMtv6qdWgEohdZxEp3jGDAllH6f8eI=
github.com/ava-labs/icm-contracts v1.0.9-0.20241210181701-a4bd5c92b056/go.mod h1:b6Hr01e5LWPua+nuZrSjjCyqfEhgFFdjBmKoJMoWTZo=
github.com/ava-labs/icm-contracts v1.0.9-0.20241212194240-fc146e9f2342 h1:vuGh2uqYnQ3cki5M8R+fv6wcLXmOtT4mk+RW8L4ztAk=
github.com/ava-labs/icm-contracts v1.0.9-0.20241212194240-fc146e9f2342/go.mod h1:W7S2SNzJ0JjySld9s2rplsqEYmuEyapjWVDRTM9eBd0=
github.com/ava-labs/subnet-evm v0.6.13-0.20241205165027-6c98da796f35 h1:CbXWon0fwGDEDCCiChx2VeIIwO3UML9+8OUTyNwPsxA=
github.com/ava-labs/subnet-evm v0.6.13-0.20241205165027-6c98da796f35/go.mod h1:SfAF4jjYPkezKWShPY/T31WQdD/UHrDyqy0kxA0LE0w=
github.com/aws/aws-sdk-go-v2 v1.32.6 h1:7BokKRgRPuGmKkFMhEg/jSul+tB9VvXhcViILtfG8b4=
Expand Down
26 changes: 14 additions & 12 deletions tests/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,22 @@ var _ = ginkgo.BeforeSuite(func() {
warpGenesisTemplateFile,
[]network.L1Spec{
{
Name: "A",
EVMChainID: 12345,
TeleporterContractAddress: teleporterContractAddress,
TeleporterDeployedBytecode: teleporterDeployedByteCode,
TeleporterDeployerAddress: teleporterDeployerAddress,
NodeCount: 2,
Name: "A",
EVMChainID: 12345,
TeleporterContractAddress: teleporterContractAddress,
TeleporterDeployedBytecode: teleporterDeployedByteCode,
TeleporterDeployerAddress: teleporterDeployerAddress,
NodeCount: 2,
RequirePrimaryNetworkSigners: true,
},
{
Name: "B",
EVMChainID: 54321,
TeleporterContractAddress: teleporterContractAddress,
TeleporterDeployedBytecode: teleporterDeployedByteCode,
TeleporterDeployerAddress: teleporterDeployerAddress,
NodeCount: 2,
Name: "B",
EVMChainID: 54321,
TeleporterContractAddress: teleporterContractAddress,
TeleporterDeployedBytecode: teleporterDeployedByteCode,
TeleporterDeployerAddress: teleporterDeployerAddress,
NodeCount: 2,
RequirePrimaryNetworkSigners: true,
},
},
4,
Expand Down
3 changes: 2 additions & 1 deletion tests/utils/warp-genesis-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"blockGasCostStep": 500000
},
"warpConfig": {
"blockTimestamp": 1719343601
"blockTimestamp": 1719343601,
"requirePrimaryNetworkSigners" : <REQUIRE_PRIMARY_NETWORK_SIGNERS>
},
"contractNativeMinterConfig": {
"blockTimestamp": 0,
Expand Down

0 comments on commit cedbdb4

Please sign in to comment.