7703c87569
fix transaction history flag ( #1169 )
...
Co-authored-by: Darioush Jalali <[email protected] >
2024-05-14 09:59:56 -07:00
Ceyhun Onur and GitHub
69e5670ce0
bump versions ( #1153 )
...
* bump versions
* update avago versions
* fix tests
2024-05-01 14:39:26 +00:00
Ceyhun Onur and GitHub
616533416b
E upgrade config ( #1135 )
...
* introduce e upgrade
* map upgrades
* check if upgrade is non-nil
* fix checkForks
* Fix tests
* revert test changes
* fix tests
* remove block no param from IsCancun
* add UT
* use avalanche defaults for timestamps
* use non-zero timestamps in genesis configs
* fix test timestamps
* add timestamp to ethapi genesis
* fix blockchain test genesis timestamp
* fix test
* review fixes
2024-05-01 15:31:49 +03:00
e9c7e98e65
Coreth sync nits ( #1161 )
...
* 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] >
2024-04-29 18:28:40 +03:00
a2681d4083
Tx indexing fix ( #1131 )
...
* fix unindexor in state sync
* fix lint
* fix flaky test
* Update core/blockchain_test.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* Update core/test_blockchain.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* Update core/test_blockchain.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* Update core/test_blockchain.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* fix reviews
* readd delay for index init
* Update core/rawdb/accessors_state_sync.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* tx indexer fix: avoids using sleep in test (#1151 )
* avoids using sleep in test
* track all goroutines
* trying harder
* add some debug information in case of fail
* Update core/blockchain.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update core/blockchain.go
Signed-off-by: Darioush Jalali <[email protected] >
---------
Signed-off-by: Darioush Jalali <[email protected] >
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Signed-off-by: Darioush Jalali <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2024-04-17 17:37:25 +03:00
Darioush Jalali and GitHub
9883c6220c
all changes from v.13.2-x branch ( #1141 )
2024-04-17 15:55:20 +03:00
Stephen Buttolph and GitHub
2eca411c54
Use string literals rather than escaping strings ( #1143 )
2024-04-08 16:57:16 +00:00
177089c5ba
move network upgrade code to file ( #1136 )
...
* move network upgrade code to file
* Update params/network_upgrades.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* rename setevmupgrades
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2024-03-29 17:51:04 +03:00
5a73dd477f
bump avago v1.11.3 ( #1130 )
...
* bump avago v1.11.3
* fix tests
* use test validator state in test context
* fix tmpnet path
* Integrate stake weighted gossip selection (#511 )
* Integrate stake weighted gossip selection
* nit
* merged
* add validity check
* remove redeclaration
* use compressed bytes
---------
Co-authored-by: Stephen Buttolph <[email protected] >
2024-03-25 15:00:54 -04:00
Ceyhun Onur and GitHub
9641a032ef
Genesis chainconfig cleanup ( #1123 )
...
* add upgrade overrides
* print json strings
* fix tests
* nits
* fix lint
2024-03-19 14:31:20 +00:00
Ceyhun Onur and GitHub
d5d638ab78
bump version to v0.6.3 ( #1124 )
2024-03-18 14:16:21 +03:00
Darioush Jalali and GitHub
b98246b716
squashed all from geth-v1.12.2-x ( #1117 )
...
* squashed all from geth-v1.12.2-x
* fix merge
2024-03-06 12:32:17 -08:00
Ceyhun Onur and GitHub
7b87893eab
Coreth sync v0.13.1 rc.5 ( #1111 )
...
* sync coreth v0.13.1-rc.5
* fix tests
* fix upgrade bytes test
* bump subnet-evm version
* sort default configs
* sort default configs
2024-03-01 17:29:13 +01:00
Ceyhun Onur and GitHub
1235e8324a
bump versions ( #1102 )
2024-02-23 21:24:38 +00:00
Darioush Jalali and GitHub
66fb868ad2
prepare v0.6.0 release ( #1101 )
...
* prepare v0.6.0 release
* changes for v33
* bump ANR
2024-02-22 17:11:14 -05:00
Ceyhun Onur and GitHub
2233fa11c4
Sync coreth 0.12.11 rc.3 ( #1075 )
...
* rename pkg
* update to coreth 0.12.11-rc.3
* revert pkg rename
* fix coreth related changes
* fix allowed pkgs
* run mockgen
* reduce diffs with coreth
* remove atomic stats
* fix rpc get block receipts test
2024-02-02 06:29:12 -08:00
Darioush Jalali and GitHub
7425988d52
Align with coreth ( #1067 )
2024-01-30 15:45:11 -08:00
07ff25b373
avago bump: Bloom filter metrics + Durango time ( #1064 )
...
* avago bump: Bloom filter metrics + Durango time
* Update plugin/evm/vm.go
Co-authored-by: Stephen Buttolph <[email protected] >
Signed-off-by: Darioush Jalali <[email protected] >
---------
Signed-off-by: Darioush Jalali <[email protected] >
Co-authored-by: Stephen Buttolph <[email protected] >
2024-01-26 21:25:11 +03:00
Darioush Jalali and GitHub
b28858af37
Remove block builder test ( #1065 )
...
* Remove block builder test
* add attempt await
2024-01-26 16:11:27 +00:00
Darioush Jalali and GitHub
1b2e5b09f8
refactor: move AllowUnfinalizedQueries out of vm.Config ( #1052 )
...
* remove ethdb
* refactor: move AllowUnfinalizedQueries out of vm.Config
2024-01-23 23:32:33 +03:00
Darioush Jalali and GitHub
24a6a05cb8
remove ethdb ( #1051 )
2024-01-23 23:13:38 +03:00
Darioush Jalali and GitHub
1023e6443e
Fix large block requests in state sync ( #1057 )
...
* Fix large block requests in state sync
* fixes
* fix
2024-01-23 18:22:29 +00:00
ce843d4cd1
P2p sdk handlers ( #1031 )
...
* rename tx handlers
* add p2p sdk handlers
* fix tests
* fix imports
* bump min go version
* downgrade golangci
* remove noop handler
* bump avago rc
* fix uint64
* bump avalanchego rc version
* fix linter
* revert txpool uint change
* bump subnet-evm version
* run simulator in a different step
* remove load test from precompile tests
* 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
* bump avago
* add time to codec
* fix load test (#1043 )
* tweak global limit
* uncomment submit
* update consts
* update avalanchego version
* fix compilation err
* simpler fix
* remove mempool configs
* bump latest avago rc
* fix tests
* update avalanchego
* fix mockgen
* bump ANR
* remove unnecessary log levels
* Fix bloom reset (#1049 )
* add UT for eth tx pool subscribe
* fix eth tx pool subscribtion
* don't use journal
* simplify test
* increase timeout
* Update plugin/evm/tx_gossip_test.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
* Fix racey bloom access and replace time.Sleep with require.Eventually
---------
Signed-off-by: Ceyhun Onur <[email protected] >
Co-authored-by: Patrick O'Grady <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
Co-authored-by: Stephen Buttolph <[email protected] >
2024-01-23 17:23:08 +03:00
a394a37a79
move warp to precompiles package ( #1034 )
...
* move warp to precompiles package
* move warp params to warp package
* use log gas cost from contract package
---------
Co-authored-by: Darioush Jalali <[email protected] >
2024-01-04 22:08:03 +00:00
6308c49540
rename DUpgrade to Durango ( #1029 )
...
* rename DUpgrade to Durango
* Update core/evm.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update x/warp/contract.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update precompile/contracts/nativeminter/contract.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update predicate/predicate_bytes.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update precompile/precompileconfig/config.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update x/warp/config.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update x/warp/contract.go
Signed-off-by: Darioush Jalali <[email protected] >
* Update x/warp/contract.go
Signed-off-by: Darioush Jalali <[email protected] >
---------
Signed-off-by: Darioush Jalali <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2024-01-04 16:41:57 -05:00
e1cfebce00
Add support for warp off chain messages ( #1028 )
...
Co-authored-by: Ceyhun Onur <[email protected] >
2023-12-27 12:49:33 -08:00
Dhruba Basu and GitHub
6f67474c21
Add TestSnowContext util ( #1030 )
2023-12-22 23:14:36 +03:00
315cf93071
prepare release v0.5.10 ( #1019 )
...
* bump versions
* change p2p network code
* Revert "change p2p network code"
This reverts commit 7960d9e524 .
* Use `p2p.Network` (#384 )
---------
Co-authored-by: Joshua Kim <[email protected] >
2023-12-07 00:11:32 +03:00
aaronbuchwald and GitHub
27796c9af9
Cleanup warp related code ( #995 )
...
* Cleanup warp related code
* Revert back to pass rules via pointer in handlePrecompileAccept
* goimports
* Remove unused var
* Update signature aggregator new comment
* Update README so it applies to both Coreth and Subnet-EVM
2023-11-28 11:32:21 -05:00
Ceyhun Onur and GitHub
e9c603fd66
remove unnecessary locks ( #998 )
2023-11-16 22:23:09 +00:00
e77c9c97cc
coreth sync: 0.12.4-rc.0 -> 0.12.7 ( #975 )
...
* coreth sync: 0.12.4-rc.0 -> 0.12.7
* Review coreth 0.12.7 (#980 )
* Apply suggested changes from https://github.com/ava-labs/coreth/pull/381/files
* drop reexec=0
* add txHashes
* bump avalanchego
* remove manager
* fix compat test
* bump version for e2e tests
---------
Co-authored-by: Ceyhun Onur <[email protected] >
2023-11-07 14:35:02 -05:00
Darioush Jalali and GitHub
acb8bc67d8
bump avalanchego to v1.10.15 ( #988 )
...
* bump avalanchego
* remove manager
* fix compat test
* bump version for e2e tests
* update readme
2023-11-07 13:59:22 -05:00
Darioush Jalali and GitHub
7749deb9ac
warp: add details to accepted message log ( #984 )
2023-11-06 12:33:31 -08:00
Ceyhun Onur and GitHub
af1c3c28aa
remove extra service registration ( #978 )
2023-11-01 08:19:56 -07:00
Ceyhun Onur and GitHub
1b6ddf5720
bump avalanchego to v1.10.14 ( #971 )
...
* bump avalanchego to v1.10.14
* fix versions in readme
* bump min golang version
* bump anr
2023-10-26 12:42:12 -04:00
aaronbuchwald and GitHub
06ee6b5a45
predicate: fix predicate bytes incorrect error log ( #969 )
...
* predicate: fix predicate bytes incorrect error log
* predicate: add unit test for GetPredicateResultBytes
2023-10-26 12:07:03 +03:00
aaronbuchwald and GitHub
4510ce9fb9
warp: add block signature handler ( #962 )
...
* warp: add block signature handler
* warp/aggregator: handle block/message types in aggregator
* warp/aggregator: refactor aggregator
* tests/warp: update e2e tests
* Fix lint
* cleanup
* add logs to e2e test
* Fix bug
* address comments
* tests/warp: add const for num nodes per subnet
2023-10-23 15:18:10 -04:00
Ceyhun Onur and GitHub
a2ba3700ff
bump subnet-evm and avalanchego versions ( #965 )
2023-10-19 20:24:06 +03:00
d3776b236e
plugin/evm: update type cast to skip call to Bytes() ( #958 )
...
Co-authored-by: Ceyhun Onur <[email protected] >
2023-10-18 13:40:34 +00:00
Ceyhun Onur and GitHub
0607a31ff9
Return message ID ( #930 )
...
* fix warp event packing
* add hardhat tests for warp
* remove destination fields from test
* parse from event data
* move setup to beforesuite
* add message id to events + return types
* fix test
* fix comment
* format example warp sol
2023-10-18 11:35:41 +03:00
7cee35b4b7
Move warp payload to avalanchego ( #923 )
...
* Integrating Warp Payload Types into AvalancheGo for Cross-VM Compatibility
This fixes https://github.com/ava-labs/avalanchego/discussions/2050 and https://github.com/ava-labs/avalanchego/pull/2116
* Update types
* Do not update go.sum
* Fixed more type changes from the migration
* Drop the alias `avalancheWarpPayload`
The alias is not longer needed
---------
Co-authored-by: Aaron Buchwald <[email protected] >
2023-10-12 22:45:10 +03:00
55189b74ac
warp: refactor warp handler stats ( #944 )
...
* warp: refactor warp handler stats
* warp: update handler stats var name to signatureRequestDuration
---------
Co-authored-by: Ceyhun Onur <[email protected] >
2023-10-11 16:53:28 +03:00
Ceyhun Onur and GitHub
5b96551fce
fix warp event packing ( #939 )
2023-10-05 10:18:57 -04:00
Dan Laine and GitHub
1b688cc353
Rename network signer ( #885 )
...
* remove unused code
* remove signature aggregation job
* appease linter
* remove signature aggregation job
* move all signature aggregeation logic to AggregateSignatures
* nit
* nit
* nit
* add mock and tests
* clean up tests
* nit
* don't autogen SignatureGetter because it requires manual changes because gomock is broken
* nit
* comment
* comments
* lower log level
* re-add todo
* move SIgnatureGetter declaration
* change file name
* nits
* use timer instead of time.After (#888 )
* nit
* refactor aggregeateSignatures
* comment nits
* add tests
* remove semantic changes
* use error from avalancheWap; combine functions; nits
* add logs
* typo fix
2023-10-03 19:36:59 -04:00
Cesar and GitHub
eb237bc664
Remove destinationAddress and destinationChainID from Warp Message ( #920 )
...
* Remove destinationAddress and destinationChainID from Warp Message
* Use UnpackInput instead of UnpackInputIntoInterface
The generated code now matches the output of generate_procompile.sh script
2023-10-03 15:54:13 -04:00
Ceyhun Onur and GitHub
af7c2531d6
mark flaky test ( #917 )
2023-10-03 14:49:29 -04:00
Ceyhun Onur and GitHub
19a0e5bf99
move predicate package and merge with predicate utils ( #907 )
...
* add get predicate result bytes helpers
* move predicate package and merge with predicate utils
* update readme
* refactor imports & utils
* typed errs
* add comment
* fix import name
* fix stutter & same var names as pkg name
* rename functions
* fix reviews
* more rename
2023-10-02 16:55:55 -04:00
Dan Laine and GitHub
25ae2dedb9
Signature Aggregation Refactor ( #883 )
...
* remove unused code
* remove signature aggregation job
* appease linter
* remove signature aggregation job
* move all signature aggregeation logic to AggregateSignatures
* nit
* nit
* nit
* add mock and tests
* clean up tests
* nit
* don't autogen SignatureGetter because it requires manual changes because gomock is broken
* nit
* comment
* comments
* lower log level
* re-add todo
* nit
* refactor aggregeateSignatures
* comment nits
* add tests
* use error from avalancheWap; combine functions; nits
* add logs
* typo fix
2023-09-29 15:09:54 +03:00
Ceyhun Onur and GitHub
eb4ba695ea
add get predicate result bytes helpers ( #906 )
...
* add get predicate result bytes helpers
* typed errs
* add comment
2023-09-28 17:04:16 +03:00
Alberto Benegiamo and GitHub
e4a507c99c
Change from parsing predicate bytes to checking they equal expected value ( #914 )
...
Signed-off-by: Alberto Benegiamo <[email protected] >
2023-09-27 13:56:02 -04:00