67 Commits
Author SHA1 Message Date
zeekay f8dd36a8be Update SubnetEVM 2024-01-03 09:44:09 +01: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
c7f45a6b55 refactor warp e2e tests into ginkgo table entries + add warp load test (#1010)
* cmd/simulator: refactor simulator to support warp load test

* Fix metrics server blocking incorrectly

* Apply suggestions from code review

Signed-off-by: aaronbuchwald <[email protected]>

* refactor warp e2e tests into ginkgo table entries + add warp load test

* update avago dep

* Update AppGossip to match updated avago bump

* Update ANR dep to fix panic

* Address comments

* Use errgroup to run send and deliver load concurrently

* Revert "Use errgroup to run send and deliver load concurrently"

This reverts commit 51b515ed50b9db3edeef193aabb441ddfdf89c3e.

* Add TODO

* Update tests/warp/warp_test.go

Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: aaronbuchwald <[email protected]>

* Bump to ago v1.10.17-rc.14

---------

Signed-off-by: aaronbuchwald <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
2023-11-30 12:58:58 -05:00
512da7af4f remove unnecessary avalanchego version from script (#989)
* 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]>
2023-11-22 19:14:08 +03: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 JalaliandGitHub 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
Ceyhun OnurandGitHub 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
Ceyhun OnurandGitHub a2ba3700ff bump subnet-evm and avalanchego versions (#965) 2023-10-19 20:24:06 +03:00
Ceyhun OnurandGitHub 7d9d91ab56 bump avalanchego to v1.10.12 (#952) 2023-10-11 13:56:18 -07:00
Ceyhun OnurandGitHub 95817a816e bump versions (#880)
* bump versions

* bump anr
2023-09-20 20:47:36 +03:00
318a6fe09d P2p sdk pull gossip (#861)
* Add SDK Router message handling (#316)

Co-authored-by: Stephen Buttolph <[email protected]>

* Fix hanging requests after Shutdown (#326)

* fix requests hanging after shutdown

* fix build

---------

Signed-off-by: Stephen Buttolph <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>

* Update to 1.10.10-rc.2 (#328)

* update to avalanchego 1.10.10-rc.2

* nits

* nit

* Add P2P SDK Pull Gossip (#318)

* add batchsize

* sync changes

* Drop outbound gossip for non vdrs (#862)

* Drop outbound gossip requests for non-validators (#334)

* drop outbound gossip requests for non validators

* nit

* nit

* sync changes

---------

Co-authored-by: Joshua Kim <[email protected]>

---------

Co-authored-by: Joshua Kim <[email protected]>
2023-09-19 15:09:47 -04:00
Ceyhun OnurandGitHub 6e22df3bc5 Add SDK Router message handling (#316) (#858)
* Add SDK Router message handling (#316)

Co-authored-by: Stephen Buttolph <[email protected]>

* revert avago version bump

* Fix hanging requests after Shutdown (#326) (#859)

* Fix hanging requests after Shutdown (#326)

* fix requests hanging after shutdown

* fix build

---------

Signed-off-by: Stephen Buttolph <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>

* Bump avago rc (#860)

* Update to 1.10.10-rc.2 (#328)

* update to avalanchego 1.10.10-rc.2

* nits

* nit

* add batchsize

* increase timeout dynamically

---------

Co-authored-by: Joshua Kim <[email protected]>

---------

---------
2023-09-18 21:24:58 -04:00
aaronbuchwaldandGitHub ce59e115b5 add mocks for precompile tests (#812)
* 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
2023-08-25 12:58:05 -04:00
Ceyhun OnurandGitHub 123ef41742 bump avalanchego version (#789) 2023-08-14 18:17:01 -04:00
aaronbuchwaldandGitHub 0eef0d28e2 Bump avalanchego dep and update version for next release (#770)
* Bump avalanchego dep and update version for next release

* Update cache sizes

* Update flag in run script to replace staking-enabled=false
2023-08-02 15:28:19 -04:00
aaronbuchwaldandGitHub 2d89a14f35 Bump avalanchego to v1.10.5 and bump Subnet-EVM for v0.5.3 release (#757)
* Bump avalanchego to v1.10.5 and bump Subnet-EVM for v0.5.3 release

* bump anr version to v1.7.1
2023-07-26 12:05:44 -04:00
4721f3ebe2 Sync coreth v0.12.4 rc0 (#694)
* apply diff to rc0

* replace coreth with subnet-evm

* go mod tidy

* remove must commit

* remove apricots

* replace coreth with subnet-evm

* rename banff and cortina

* test memory db

* add dUpgrade

* fix errors

* sync with v0.12.4-rc0

* more diffs

* change templates

* readd preparePredicateSlots

* run goimports

* readd tx allow list check to txpool

* Fix tests

* readd subnet evm check for tests

* fix tests

* add gas limit & coinbase fakers

* Fix timestamp types

* check error from newblockchain

* fix gas limit in simulated genesis

* downgrade ci to go 1.19

* gofmt files

* rebump go to 1.20

* bump anr to latest

* bump anr to latest

* prepare predicate storage slots in Subnet-EVM

* uncomment tests

* change order of airdrop memory cleanup

* add utils import

* Coreth 0.12.4 x apply (#720)

Co-authored-by: Darioush Jalali <[email protected]>

* move instruction sets

* revert unpack changes

* reduce diffs

* move genesis verify to vm (#753)

* move genesis verify to vm

* fix comment

* set a correct default from genesis

* fix log

* revert change to vm.go

---------

Co-authored-by: Darioush Jalali <[email protected]>

* avoid adding/removing GasLimits in tests (#755)

* move genesis verify to vm

* fix comment

* set a correct default from genesis

* fix log

* revert change to vm.go

* avoid adding/removing GasLimits in tests

* nit

---------

Co-authored-by: Ceyhun Onur <[email protected]>

---------

Co-authored-by: Darioush Jalali <[email protected]>
2023-07-26 09:45:17 -04:00
Ceyhun OnurandGitHub e7d1a6c504 bump version to v0.5.2 (#681)
* bump version to v0.5.2

* downgrade avalanchego to 1.10.2

* update compatibility
2023-06-26 21:54:10 -04:00
aaronbuchwaldandGitHub 532a0e9581 Bump avalanchego dep to v1.10.1 and bump version to v0.5.1 (#634) 2023-05-01 12:21:02 -04:00
aaronbuchwaldandGitHub 4a550f04b1 Bump avalanchego to v1.10.0 (#604)
* Bump avalanchego to v1.10.0-fuji-rc.2

* Add comptibility version

* Bump avalanchego dep to v1.10.0 and update version to v0.5.0

* Fix interface changes from avalanchego

* Update compatibility in README
2023-04-12 13:04:01 -04:00
Richard PringleandGitHub d694ef43e2 Add ability to specify commit of avalanchego in ci (#589) 2023-03-24 14:04:26 -04:00
9a537aa109 state modifications as network upgrade (#549)
Co-authored-by: Aaron Buchwald <[email protected]>
2023-03-08 13:10:35 -08:00
427afc5457 Start release cycle v0.4.12 (#559)
* start v0.4.12 release cycle

* add setup action to lint ci for proper go version

* Bump version in plugin/evm/version.go

* Remove go version pin

* Revert "Remove go version pin"

This reverts commit e651bebbdcb51afab1291374ff5c20c4a14f20c5.

* bump golangci-lint-acion to @v3

* bump golangci lint

* try 1.48

* golangci-lint v1.51 and goimports leveldb file

* migrate linting changes from coreth

* goimports and fix diagram comments

* Fix bad goimports changes

---------

Co-authored-by: Darioush Jalali <[email protected]>
2023-03-07 09:07:17 -05:00
aaronbuchwaldandGitHub b592052bd4 Start coreth migration (#552)
* Start coreth migration

* Bump version to v0.4.11 and avalanchego dep

* goimports core/blockchain.go

* Update compatibility.json

* Update compatibility in README

* Bump avalanchego dep to v1.9.10
2023-03-01 17:44:38 -08:00
aaronbuchwaldandGitHub 38dcbacbca Start v0.4.10 release cycle (#533) 2023-02-21 15:08:47 -08:00
aaronbuchwaldandGitHub 5e95bc562d Bump AvalancheGo dep to v1.9.9 (#530) 2023-02-21 13:12:55 -08:00
aaronbuchwaldandGitHub d1157939b7 Bump avalanchego to v1.9.9-rc.4 (#526)
* Bump avalanchego to v1.9.9-rc.4

* Fix imports

* Bump compatibility.json for latest avalanchego release
2023-02-20 14:47:36 -08:00
cam-schultzandGitHub 450dcb9dd3 build with avago v1.9.8 (#498)
* build with avago v1.9.8

* add indirect deps

* build fix

* another build fix

* try to fix lint job
2023-02-07 20:08:42 -08:00
aaronbuchwaldandGitHub 8c08ebc052 Refactor e2e tests (#425)
* Simplify e2e tests

* Add TODOs

* WIP

* Replace GetSubnetIDF

* Bump avalanchego to v1.9.6-rc.0

* Working on tests

* Light client mode to unlock dynamic state sync

* revert version to pass ci (?)

* fix simulator go.mod

* Set env variable using os setenv

* Needed renames to run all solidity precompile tests

* Cleanup

* E2E test GH Action

* Remove simualtor from GH Actions

* Re-add simulator to GH Actions

* nits

* Modify run script to support running a network and running simulator

* Fix GH Actions file

* Bump avalanchego to v1.9.6-rc.2

* go mod tidy

* Fix run script

* Reduce ctx timeout for starting new subnet to 15s

* Set data dir from github action

* Update run script

* Create separate load test for ginkgo

* Refactor scripts

* Fix up env variables in run single node script

* WIP

* Add install_cli.sh script

* Create 1 script to start a non-staking network of nodes in a subshell

* Fix run script to run 5 node non-staking network and add simple load script

* Fix load test

* go mod update to ago v1.9.7

* Fix allowed geth imports for simulator

* Populate constants to fix blst warning

* load constants in run ginkgo

* Update run simulator name check

* Update data dir

* Add plugin dir env variable

* Update github action and env var used in install avago script

* Filter out both precompile and load test from unit test script

* Add comment about skipping load test in unit test script

* Fix lint geth allowed pkgs

* Address nits

* Remove unused DATA_DIRs var from run script

* Add TODO to update run script to allow running N nodes instead of just one

* Update READMEs

* Break down simulator

* Cleanup

* Update cmd/simulator/README.md

* Update cmd/simulator/README.md

* Update cmd/simulator/README.md

* Update contract-examples/README.md

* Address review comments

* Address PR comments
2023-01-26 16:23:32 -05:00
Ceyhun OnurandGitHub 4446703a0a Coreth 0.11.6 sync (#436)
* sync changes from coreth-0.11.6

* remove diff patch

* revert format changes

* nits (#441)
2023-01-23 14:06:36 -05:00
aaronbuchwaldandGitHub b5faa4f15b Bump avalanchego dep to v1.9.7 and start v0.4.9 release cycle (#433)
* Bump avalanchego dep to v1.9.7 and start v0.4.9 release cycle

* Update compatibility.json and README
2023-01-23 13:44:45 -05:00
aaronbuchwaldandGitHub a4ad7cdeca Bump to v0.4.8 and bump AvalancheGo dependency to v1.9.6 (#429)
* Bump avlanachego dep to v1.9.6 and bump version to v0.4.8 for release

* Fix simulator go mod
2023-01-11 17:45:22 -05:00
aaronbuchwaldandGitHub 93258aa300 Bump avalanchego to v1.9.5 (#415)
* Bump avalanchego to v1.9.5-rc.0

* go mod tidy simulator

* Bump avalanchego v1.9.5-rc.1

* Bump avalanchego

* bump avalanchego and bump sevm version

* go mod tidy simulator

* Add rpcchainvm protocol version to compatibility.json
2022-12-22 14:12:10 -05:00
aaronbuchwaldandGitHub 49458d22df Start v0.4.6 release cycle (#409) 2022-12-12 10:41:39 -05:00
aaronbuchwaldandGitHub 21a14d2d90 Bump avalanchego to v1.9.4 (#402)
* Bump avalanchego to v1.9.4

* Bump subnet-evm version in scripts/versions.sh
2022-12-07 14:17:25 -07:00
715ca80766 use generic set (#391)
* use generic set

* bump version

* nit

* update inner go mod

* Bump rpcchainvm version in compatibility.json

Co-authored-by: aaronbuchwald <[email protected]>
Co-authored-by: Stephen <[email protected]>
2022-12-06 18:09:37 -07:00
a7afbfc2c4 Bump avalanchego v1.9.3 and Coreth Migration through v0.11.3 (#369)
* Migrate coreth to v0.11.3 wip

* WIP

* WIP

* migrate eth/gasprice

* update block building

* Add skip upgrade check to config

* Finish up changes

* Add ctx to tests

* Remove ported timer

* mod tidy for cmd/simulator

* Remove dead testcode

* Fix typo

* Fixes

* Fixes

* sync auto-formatted changes (#371)

* sync auto-formatted changes

* add coreth version txt

* add latest coreth version

* Update plugin/evm/block_builder.go

Co-authored-by: Darioush Jalali <[email protected]>

* Update plugin/evm/vm.go

Co-authored-by: Darioush Jalali <[email protected]>

Co-authored-by: Ceyhun Onur <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
2022-11-29 09:39:18 -05:00
aaronbuchwaldandGitHub fd3b1033d3 Start v0.4.4 release cycle (#349) 2022-11-07 18:37:18 -05:00
4ca0cbfdb9 Added compatibility tracking (#334)
* Added compatibility tracking

* Added version moved test

* Cleaned up test

* Bump avalanchego version and nits

* go mod tidy cmd/simulator

* Mark trie clean jouranl test as flaky

* Bump avalanchego to v1.9.2

* Bump anr version in scripts/versions.sh

* Bump anr version in go.mod

* go mod tidy cmd/simulator

Co-authored-by: Aaron Buchwald <[email protected]>
2022-11-04 18:55:18 -04:00
aaronbuchwaldandGitHub 4d830e4b44 Bump version to v0.4.2 (#328) 2022-11-01 09:45:06 -04:00
158e8882bd Bump avalanchego v1.9.1 (#324)
* changes to requester

* fix compilation

* whoopse

* whoopse again

* Bump avalanchego dependency to v1.9.1

* Migrate OpenTelemetry changes

* go mod tidy cmd/simulator

Co-authored-by: Anusha Chillara <[email protected]>
Co-authored-by: Stephen <[email protected]>
2022-10-28 19:30:48 -04:00
aaronbuchwaldandGitHub 2f3ff1c0c8 Update avalanchego v1.9.0 (#293)
* Bump avalanchego to v1.9.0

* go

* Update go.mod
2022-10-06 16:30:31 -04:00
felipemaderoandGitHub 4ff12f4922 bump to avago 1.8.6 (#279)
* bump avago + anr

* add cross compilation

* mod tidy

* CGO_CFLAGS instead of CGO_FLAGS

* strange "" stuff in goreleaser

* add comment for CGO_FLAGS setting. move seting to constants

* fix path var

* fix unit test script

* bump avago version in versions.sh

* add checksum check for SDK archive

* fix checksum
2022-10-05 15:56:07 -04:00
12ddc72239 Update AvalancheGo Compatibility (#267)
* Update AvalancheGo Compatibility

* bump versions

* simulator go.mod

* Fix ago compat versions

Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Aaron Buchwald <[email protected]>
2022-09-22 18:44:19 +09:00
holisticodeandGitHub 165002b154 Revert PR 249 (#252)
* revert PR 249

* fix yaml indentation

* adjust e2e versions

* update simulator go.mod
2022-09-20 01:25:29 +09:00
b0e42eaa10 bump: [email protected] (#249)
* [email protected]

Signed-off-by: Sam Batschelet <[email protected]>

* *: react to bump

Signed-off-by: Sam Batschelet <[email protected]>

* bump: [email protected]

Signed-off-by: Sam Batschelet <[email protected]>

* Remove network runner dep

* remove needs from goreleaser

* Update subnet evm version to v0.3.0

Signed-off-by: Sam Batschelet <[email protected]>
Co-authored-by: Aaron Buchwald <[email protected]>
2022-09-05 03:01:44 -04:00
Gyuho LeeandGitHub 98bdd260a9 *: add simulator e2e tests (#172)
* *: add simulator e2e tests

Signed-off-by: Gyuho Lee <[email protected]>

* lint-test: use Go 1.18

Signed-off-by: Gyuho Lee <[email protected]>

* cmd/simulator: use local subnet-evm version

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: remove go mod command

Signed-off-by: Gyuho Lee <[email protected]>

* cmd/simulator: use os.ReadFile

Signed-off-by: Gyuho Lee <[email protected]>

* *: update run.sh + e2e_test.go with latest network runner

Signed-off-by: Gyuho Lee <[email protected]>

* *: remove "mode"

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: fix genesis for e2e tests

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: fix "fi"

Signed-off-by: Gyuho Lee <[email protected]>

* test: skip shutdown for e2e

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: skip genesis when disabled nr

Signed-off-by: Gyuho Lee <[email protected]>

* e2e: skip

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: update

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: fix RUN_SIMULATOR

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: fix

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: fix

Signed-off-by: Gyuho Lee <[email protected]>

* test: skip shutdown when simular is enabled

Signed-off-by: Gyuho Lee <[email protected]>

* *: use avalanchego 1.7.17 for tests

Signed-off-by: Gyuho Lee <[email protected]>

* tests/e2e: remove "--enable-solidity-tests"

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: debug

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: fix

Signed-off-by: Gyuho Lee <[email protected]>

* run.sh: remove "set -x" debug mode

Signed-off-by: Gyuho Lee <[email protected]>

* go mod tidy

Signed-off-by: Gyuho Lee <[email protected]>

Signed-off-by: Gyuho Lee <[email protected]>
2022-08-24 21:01:58 -04:00
0ad28c292b [email protected] (#213)
* update avalanchego

* Avalanchego bump anr (#214)

* bump ANR

* add todo

* Clean up logger and use commit from PR (#215)

* Clean up logger and use commit from PR

* Bump anr version

* Remove TODO

* Add comment to logging off

Co-authored-by: aaronbuchwald <[email protected]>

Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: aaronbuchwald <[email protected]>
2022-08-19 12:26:38 -04:00
felipemaderoandGitHub bd50f4d5ba bump to ANR 1.2.0 (#185)
* bump

* fix golanglint version

* go mod tidy

* empty commit

* rm pretty dep

* mod tidy
2022-08-11 17:56:05 -04:00
aaronbuchwaldandGitHub d23fbfd8fe Start v0.2.9 release cycle (#181) 2022-08-03 14:29:50 -04:00