* use less blocks to gen
* avoid relying on rand.Seed for deterministic results (#535)
* disable blobpool (#536)
* add matrix and race to UTs (#530)
* add matrix and race to UTs
* remove unnecessary runners
* clean script
* lazy read bonus blocks
* increase timeout
* increase frequency
* apply fix fow windows
* increase timeout
* disable fail fast
* increase frequency and timeout
* use latest
* fix coma
* better log
* fix require
* Fix formatting
* fix eventually formats
* test out new wg
* Revert "test out new wg"
This reverts commit 5d4a0a8a17bf78751163e948a6a65dd241b057aa.
* check tx indexes after each block accept
* mark as flaky
* disable blobpool
* add IsSubscribed for testing
* remove subscribed when return
* use atomic bool
* attempt to fix flaky indexing test
* use matrix for UTs
* return if sub nil
* add beacon root checks
* fix test
* return if sub nil
---------
Co-authored-by: Darioush Jalali <[email protected]>
* refactor docker yml and scripts
* enable pr for test
* fix path
* fix path
* rename img id
* try simpler name
* use -a
* test tag
* remove test steps
* remove avalanchego from image id
* e2e: Switch warp test to use tmpnet fixture
* e2e: Switch load test to use the tmpnet fixture
* Add readme describing use of existing network
* e2e: Remove network manager and dependency on ANR
* fixup: Switch from VMName to VMID with tmpnet.Chain
* fixup: Respond to review comments
* fixup: Use 5 nodes for load testing
* fixup: Fix shellcheck errors
* cleanup artifact dirs
* fixup: Update to reflect tmpnet configuration changes
* fixup: go mod tidy
* fixup: Use the default evm logging level for load testing
* fixup: Lower the avalanchego logging levels for load testing
* fixup: respond to review comments
* fixup: Respond to review comments #2
* fixup: Disable unnecessary stdout logging
---------
Co-authored-by: Ceyhun Onur <[email protected]>
* run simulator in a different step
* remove load test from precompile tests
* rename simulator to load test
* parallelize e2e steps
* use checkout
* split to different workflows
* move to same folder
* remove unnecessary avalanchego version from script
* rename avalanchego version to avalanche version
---------
Signed-off-by: Darioush Jalali <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
* Add GetPredicateResults to BlockContext
* Serve predicate results from blockContext
* Allow extra data to extend past DynamicFeeWindow post DUpgrade
* Get vm warp unit tests working
* Bump ANR to intermediate version to fix incompatibility with AvalancheGo
* Add kc to EthKeyChain
* Bump avalanchego dep in scripts for CI
* Add block hash payload support
* Use gomocks for precompileconfig and predicater and re-write CheckPredicates with gomocks
* Use gomock for mock accessible state and block context
* Fix existing warp contract tests with mock block context
* Remove unused mockPredicater impl
* x/warp: add contract execution unit tests
* Update NewEVMBlockContext
* Add AppendExtra to syncervm to fix tests
* x/warp: add unit test for multiple predicate results
* core: add unit test for CheckPredicates insufficient gas
* Update receive warp message test to trace block and assert the expected result
* Fix lint
* Update warp solidity contracts
* Fix block context mocks for bench
* Update precompile/precompileconfig/config.go
Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: aaronbuchwald <[email protected]>
* Cleanup
* precompile/results: Add predicate results tests + comments
* nits
* precompile/results: omit tx predicate results if empty
* core: add invariant comment to predicate check
* Address PR comments
* Fix unpackWarpMessage and add unit tests
* Rename OriginChainID -> SourceChainID to match ago warp message type
* nits
* x/warp: set public key in warp predicate unit tests
* Update payload format
* Clarify IWarpMessenger verified message return types
* core/state: improve statedb warp specific comments
* Update input param type to uint32 to avoid potential overflow on conversion
* Update GetPredicateStorageSlots arg type to uint32
* warp/payload: add README for payload serialization (#835)
* Fix merge
* add mocks for precompile tests
* Update compatibility
* Bump AvalancheGo dep to v1.10.9
* Bump ANR dep to be compatible with ago v1.10.9
* revert ConfigurationBlockContext changes
* Add warp contract implementation
* Cleanup predicate test
* Fix new function signature
* Replace invalid fuzz test with unit test
* Add chain config to enable warp API for warp e2e test
* remove unused var
* Add experimental warning and move warp precompile to x/ package
* fix warning label
* Fix warning
* vm test nits
* Improve sendWarpMessenger sol comment
* more vm warp test nits
* Move warp params into params package
* More vm warp test nits
* Address more PR comments
* Remove triggerTx2
* Add check for expected topics from sendWarpMessage log
* Fix config test
* Fix incorrect replace
* remove unnecessary echo
* Address comments
* Address comments
* Address PR comments
* Improve comments
* Convert [32]byte type to common.Hash
* Add base cost for getVerifiedWarpMessage
* fix require equal type check
* Fix updated awm message format
* Update warp message format
* Move IWarpMessenger.sol to interfaces/
* Add newline to warp genesis
* uncomment assertion
* Fix broken links in README