Darioush Jalali and GitHub
534ee8f8fc
Make state sync request size configurable ( #614 )
...
* Make state sync request size configurable
* finish passing the parameter
* set default to 256
2023-04-12 14:26:11 -04:00
aaronbuchwald and GitHub
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
aaronbuchwald and GitHub
0f21037e93
Update log levels ( #609 )
2023-04-10 13:34:25 -04:00
Ceyhun Onur and GitHub
1df8430eb1
move runner and export it ( #539 )
...
* move runner and export it
* add version str
2023-04-07 11:13:46 -04:00
aaronbuchwald and GitHub
515cc6a984
Warp prep nits ( #606 )
...
* Move verifyWithContext debug log to correct location
* Disable warp API by default
2023-04-05 11:19:38 -04:00
aaronbuchwald and GitHub
159b27d0b9
Add more logs on shutdown ( #584 )
2023-03-24 10:06:07 -04:00
aaronbuchwald and GitHub
5d2af3bcf9
Warp preparation updates ( #591 )
...
* Initialize WarpSigner/PublicKey in snow ctx in vm test setup
* Fix receipt precompile acceptor handling
2023-03-24 10:05:35 -04:00
Darioush Jalali and GitHub
93b7cb77ea
release tickers on shutdown ( #574 )
...
* release tickers on shutdown
* move shutdownWg.done to other defer block
2023-03-17 09:46:56 -04:00
aaronbuchwald and GitHub
783fbbd1be
Warp preparation ( #573 )
...
* Add warp precompile preparation
* Update hash slice packing
* Remove unnecessary local var
* Add VM type assertion
* Enable Warp API by default
2023-03-16 15:15:26 -04:00
d628c176f0
Precompile pre post handling ( #524 )
...
* Re-apply warp precompile interface changes
* Address nits
* Separate predicate storage slot preparation into separate function in statedb
* fix lint
* improve miner enforcePredicates comment
* Add HashSliceToBytes test case for empty slice
* Address comments
* Address comments WIP
* Pre+post handling diff for shared mem precompile
* Separate proposer and general precompile predicates
* Update ShouldVerifyWithContext to return true iff proposer predicate is specified
* Add checkPredicates unit test
* Update .gitignore
* goimports
* update
* goimports config
* Address PR review comments and improve comments
* Fix typo
* Address PR comments
* Add rules into PrepareAccessList
* Only copy bytes in preparePredicates if predicate precompile is active
* Address PR comments
---------
Co-authored-by: Darioush Jalali <[email protected] >
2023-03-16 11:34:49 -04:00
9a537aa109
state modifications as network upgrade ( #549 )
...
Co-authored-by: Aaron Buchwald <[email protected] >
2023-03-08 13:10:35 -08:00
Ceyhun Onur and GitHub
5d26779937
remove stderr pipelining ( #562 )
2023-03-07 09:25:24 -05: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
aaronbuchwald and GitHub
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
Ceyhun Onur and GitHub
d8a3e64378
Stateful Precompile Improvements ( #389 )
...
* move inline string ABIs to separate files and embed them (#383 )
* move inline string ABIs to separate files and embed them
* fix tests
* fix tests
* unexport function
* Update accounts/abi/bind/bind.go
Co-authored-by: Darioush Jalali <[email protected] >
* fix func name
Co-authored-by: Darioush Jalali <[email protected] >
* replace getByKey with getByAddress (#395 )
* rework on panics in precompiles (#418 )
* rework on panics in precompiles
* Update precompile/allow_list.go
Co-authored-by: aaronbuchwald <[email protected] >
* Update precompile/fee_config_manager.go
Co-authored-by: aaronbuchwald <[email protected] >
* Update precompile/fee_config_manager.go
Co-authored-by: aaronbuchwald <[email protected] >
* fix reviews
* wrap errors in ConfigurePrecompiles
* cleaner errors
* Update utils.go
* Update miner/worker.go
Co-authored-by: aaronbuchwald <[email protected] >
* Update core/state_processor.go
Co-authored-by: aaronbuchwald <[email protected] >
Co-authored-by: aaronbuchwald <[email protected] >
* Precompile Specific Packages (#420 )
* rework on panics in precompiles
* Update precompile/allow_list.go
Co-authored-by: aaronbuchwald <[email protected] >
* Update precompile/fee_config_manager.go
Co-authored-by: aaronbuchwald <[email protected] >
* Update precompile/fee_config_manager.go
Co-authored-by: aaronbuchwald <[email protected] >
* fix reviews
* wrap errors in ConfigurePrecompiles
* cleaner errors
* move reward manager precompile to package (WIP)
* rename files
* fix abi path
* move typecheck
* move precompiles to their own packages
* refactor precompile template
* remove test file
* upate comments
* rm test files
* new allowlist package
* Update precompile/utils.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/nativeminter/contract_native_minter.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/nativeminter/contract_native_minter.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/utils.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/nativeminter/contract_native_minter.go
Co-authored-by: Darioush Jalali <[email protected] >
* fix nits
Co-authored-by: aaronbuchwald <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
* rename fee manager config struct (#427 )
* rename struct
* rename fee config managers to fee managers
* fix comments
* Generalized upgrades rb (#434 )
* introduce precompiles as registrable modules
* add precompile specific contract tests
* remove print debug
* add unmarshal tests
* remove unnecessary func
* fix initial disabled value
* register all modules in core/evm/contract_stateful
* more refactor & test fix
* sync template
* fix more tests
* rename file
* add comment
* rename
* fix linter
* use require error contains
* remove whitespace
* trim mock interface
* sort steps
* reviews
* Update precompile/stateful_precompile_module.go
* Update params/precompile_config.go
* Update params/precompile_config.go
* fix reviews
* add new module to configs and group module functions
* generalized-upgrades-rb review (#474 )
* keep genesis disabled fix
* nits
* nits
* nit
* review fixes
* Update precompile/allowlist/allowlist.go
* use address in map
* fix linter for embedded keys
* update err messages
* more err update
* remove unnecessary function (#478 )
* Start work on breaking cyclic dependency (#496 )
* Update core/state_processor.go
* fix reviews
* Update precompile/contracts/txallowlist/contract_test.go
* Generalized upgrades rb nits0 (#512 )
* Minor improvements
* restore readOnly
* more updates
* Add back readOnly to allow list tests
* Precompile improvements merge (#513 )
Co-authored-by: aaronbuchwald <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
Co-authored-by: cam-schultz <[email protected] >
Co-authored-by: Matthew Lam <[email protected] >
Co-authored-by: cam-schultz <[email protected] >
Co-authored-by: omahs <[email protected] >
Co-authored-by: Anusha <[email protected] >
Co-authored-by: Hagen Hübel <[email protected] >
Co-authored-by: minghinmatthewlam <[email protected] >
Fix: typos (#428 )
fix allow list comments (#469 )
fix CGO flags issue (#489 )
fix lint job (#499 )
* review fixes
* minor nits
* fix precompile generator
* fix fee manager config test
* remove debug files
* Update core/state_processor.go
Co-authored-by: aaronbuchwald <[email protected] >
* fix comments
* restore statedb ordering
* fix configure in reward manager
* precompiles: adds a regression test for the IsDisabled case in AvalancheRules (#515 )
* Rename configs: alternative (#520 )
* alternative renaming for precompile configs
* fixes
* update naming
* rename to AllowListConfig
* simplify
* move blackhole check to module registerer (#523 )
* move blackhole check to module registerer
* check blackhole first
* add unit test
* Add test case for registering module outside of reserved range
---------
Co-authored-by: Aaron Buchwald <[email protected] >
* precompile: improve test structure (#517 )
* refactor precompile tests
* minor improvements
* nit
* fix merge
* rename package
* pr comments
* rm file
* merge AllowListTests
* pr comments
* explicit BeforeHook
* wspace
* Mark TestTransactionIndices flaky
---------
Co-authored-by: Aaron Buchwald <[email protected] >
* nit improvements (#529 )
* nit improvements
* move comments to README
* Update cmd/precompilegen/template-readme.md
* Rename new config (#528 )
* rename configurator's new config to make config
* use new built-in to create new config instance
* precompile: just nits (#534 )
2023-02-22 12:27:48 -08:00
aaronbuchwald and GitHub
38dcbacbca
Start v0.4.10 release cycle ( #533 )
2023-02-21 15:08:47 -08:00
aaronbuchwald and GitHub
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
aaronbuchwald and GitHub
c63a940a0d
Remove unnecessary gasprice updater logic and tests ( #514 )
...
* Remove unnecessary gasprice updater logic and tests
* Remove comment referencing gas price updater
* Revert default price limit change
* Move set min fee back to vm.go
* Update to retain previous tx pool gas price setting behavior
2023-02-17 11:19:01 -08:00
9cbc7fe834
Get signature endpoint: alternative PR with different packaging ( #507 )
...
* base warp backend
* add signature caching
* add docs
* error handling
* pr fixes
* basic signature request
* hash unsigned message for key
* implement new Request and RequestHandler interfaces
* signature handler impl without constructing one
* fix import
* quick pr fixes and merge
* quick pr fixes and merge
* save signature instead of whole msg
* use avaGO cache
* rename warpBackend and docs
* fix nits
* Update plugin/evm/warp_backend.go
Co-authored-by: aaronbuchwald <[email protected] >
* Update plugin/evm/warp_backend.go
Co-authored-by: aaronbuchwald <[email protected] >
* fix pr nits
* pr fixes and testing
* type check for caching
* handlers and request before tests
* fix imports
* signature handler with stats and test
* use memdb and remove extra test
* remove unused
* fix imports
* fix imports
* nit
* update license year
* use require noError
* saving message in db and pr fixes
* create noop signature handler and refactor code handler
* get signature endpoint
* add api arg to evm client
* Update sync/handlers/handler.go
Co-authored-by: aaronbuchwald <[email protected] >
* update backend return value
* refactor handlers to network handler
* change constructor of handler stats
* pr cleanups
* warp api
* initialize warp backend
* build fix
* wip
* warp api follows eth api pattern
* cleanup and comments
* clean up response
* fix warp client return type
* nits for get-signature-endpoint (#502 )
Co-authored-by: Darioush Jalali <[email protected] >
Co-authored-by: aaronbuchwald <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: cam-schultz <[email protected] >
* resolve merge conflict
* warp: Group packages for symmetry w/ sync
* more reshuffle
* more shuffle
* pr comments
* fix
* update to []byte
* update svc return type
* rename arg
* fix type
* add stats pkg
---------
Co-authored-by: Matthew Lam <[email protected] >
Co-authored-by: aaronbuchwald <[email protected] >
Co-authored-by: cam-schultz <[email protected] >
Co-authored-by: Ceyhun Onur <[email protected] >
Co-authored-by: cam-schultz <[email protected] >
2023-02-10 09:54:50 -08:00
94e965bb2f
Signature Request Handler ( #459 )
...
Co-authored-by: aaronbuchwald <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2023-02-08 17:19:44 -08:00
cam-schultz and GitHub
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
339f1206fd
remove current rules ( #481 )
...
Co-authored-by: Darioush Jalali <[email protected] >
2023-02-04 20:20:44 -08:00
minghinmatthewlam and GitHub
66c4cd4d3f
Warp backend interface and implementation ( #452 )
...
* base warp backend
* add signature caching
* add docs
* error handling
* pr fixes
* hash unsigned message for key
* quick pr fixes and merge
* save signature instead of whole msg
* use avaGO cache
* rename warpBackend and docs
* fix nits
* Update plugin/evm/warp_backend.go
* Update plugin/evm/warp_backend.go
* fix pr nits
* pr fixes and testing
* type check for caching
* fix imports
* use memdb and remove extra test
* remove unused
* fix imports
* saving message in db and pr fixes
* update copyright
* update backend variable naming
* add comment about saving db vs cache
2023-02-01 10:19:06 -08:00
aaronbuchwald and GitHub
1de309e1ba
Improve version output ( #463 )
2023-01-28 13:00:03 -05:00
Ceyhun Onur and GitHub
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
aaronbuchwald and GitHub
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
e169ed5866
Add requirement that Subnet-evm upgrade is enabled at genesis ( #419 )
...
* Add requirement that Subnet-evm upgrade is enabled at genesis
* Add test for nil
* remove err
* modify comment
* add one more comment
* test improvements
* fix comment
* fix comment
* timestamp
* fix existing test:
* fix one more existing test
* fix spacing
* clean up
* address comments
* use commmon big 0
* address comments
* Check before upgrade bytes
* comment tests until new NetworkUpgrade is added
* skip instead of comment out
* add config flag
* add unit test to test override
* lint
* remove skips
* lint
* unify to one test
* fix typo
Co-authored-by: aaronbuchwald <[email protected] >
2023-01-13 16:35:00 -05:00
aaronbuchwald and GitHub
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
Darioush Jalali and GitHub
4d3ad1828a
Light client mode to unlock dynamic state sync ( #424 )
...
* Light client mode to unlock dynamic state sync
* revert version to pass ci (?)
* fix simulator go.mod
2023-01-10 11:08:35 -05:00
aaronbuchwald and GitHub
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
Ceyhun Onur and GitHub
e973d55467
Update reward manager ( #417 )
...
* fixed block validation during reward manager deactivation
* add more comments
* Update miner/worker.go
2022-12-20 10:28:48 -05:00
aaronbuchwald and GitHub
49458d22df
Start v0.4.6 release cycle ( #409 )
2022-12-12 10:41:39 -05:00
Gyuho Lee and GitHub
61d41158e9
Minor format updates to plugin/evm configurations ( #406 )
...
* plugin/evm/config: place all tx pool fields together
Signed-off-by: Gyuho Lee <[email protected] >
* plugin/evm: simplify default rejournal duration field
Signed-off-by: Gyuho Lee <[email protected] >
Signed-off-by: Gyuho Lee <[email protected] >
2022-12-09 14:55:09 -07:00
Gyuho Lee and GitHub
1d09603011
*: make tx pool configurable ( #401 )
...
* *: make tx pool configurable
Signed-off-by: Gyuho Lee <[email protected] >
* *: move default tx pool config back to struct
Signed-off-by: Gyuho Lee <[email protected] >
Signed-off-by: Gyuho Lee <[email protected] >
2022-12-08 18:01:11 -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
Patrick O'Grady and GitHub
96272d3c54
Cache headers and logs using accepted depth instead of LRU ( #387 )
...
* save progress
* save progress
* saving more progress
* add more context
* more comments
* fix items
* fix removal
* passs config
* add additional comment
* move cache init
* remove TODO
* fix logs format
* nits
* insert into cache oldest first
* make bounded buffer generic
* cleanup FIFO cache
* cleanup comments
* simplify bounded buffer
* fix `Last`
* nits
* more comment nits
* fix min size of FIFOCache
* add NoOpFIFOCache
* move `FlattenLogs` to `types`
* fix off by 1
* revert LastBloomIndex
* fifo cache nits
* simplify bounded buffer
* move acceptedHeaderCache to headerchain
* remove unnecessary comment
2022-12-05 17:15:21 -05:00
Patrick O'Grady and GitHub
7aad9bc5bd
Improved eth_getLogs caching ( #386 )
...
* change filter system
* pipe through indexing
* pipe config
* add more logs
* fix incorrect usage
* fix indexed usage
* fix light client logs
* add LastBloomIndex
* fix tests
* nits
2022-12-01 13:47:02 -08:00
aaronbuchwald and GitHub
d5285b9db0
Start v0.4.5 release cycle ( #378 )
2022-11-29 21:31:13 -05:00
minghinmatthewlam and GitHub
5ecbb913c2
Plumbing snow.Context for precompiles ( #381 )
...
* passing in snow context
* adding call and moving contractRef
* test with avalanche context
* fix import format
* dependency updates
* put snow ctx into avalanche ctx
* move back contract ref
* remove getaddress
* update go mod
* fix imports
* remove extra line
* fix pr comments
* remove call additions
2022-11-29 18:43:23 -05:00
Darioush Jalali and GitHub
815ffa8cf3
Make airdrop file configurable ( #338 )
...
* Make airdrop file configurable
* put comments back
* remove airdrop json
2022-11-29 17:14:20 -05:00
aaronbuchwald and GitHub
342f4af991
Migrate replay protection bypass for Nick's Method Signature txs ( #377 )
2022-11-29 13:39:16 -05: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
Ceyhun Onur and GitHub
c14d46dc0f
Reward Manager precompile ( #260 )
...
* add initial precompile configs and handle them
* add verify to precompile configs
* add unit tests for initial configs and verify
* add a nil check for initial fee config verification
* conditionally verify allowlist
* Update precompile/stateful_precompile_config.go
Co-authored-by: aaronbuchwald <[email protected] >
* add config test to precompile package
* add 0 test case for gas limit
* add comments for allowlist storage keys
* move allow list role to different file
* Update precompile/allow_list.go
Co-authored-by: aaronbuchwald <[email protected] >
* rename test
* Update precompile/allow_list.go
Co-authored-by: Darioush Jalali <[email protected] >
* rename test & use func to create config
* Remove unnecessary role checks
* use config constructor for precompile tests
* Update accounts/abi/bind/precompile_template.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/contract_native_minter.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/contract_deployer_allow_list.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/allow_list.go
Co-authored-by: Darioush Jalali <[email protected] >
* add equals methods
* initialize reward manager precompile by precompilegen
* add reward upgrade to block verification
* handle empty case in configure
* use single field to decide allow fee recipieints
* add coinbase verification
* configure miner with coinbase in state accordingly
* Remove abis
* use header coinbase for verification
* remove hashToBool util methods
* use require and remove unneccessary address field from test
* add unit tests
* cleanups
* Update consensus/dummy/consensus.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update contract-examples/contracts/IAllowList.sol
Co-authored-by: Darioush Jalali <[email protected] >
* Update core/stateful_precompile_test.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update core/stateful_precompile_test.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update core/stateful_precompile_test.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/reward_manager.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/reward_manager.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update precompile/reward_manager.go
Co-authored-by: Darioush Jalali <[email protected] >
* review fixes
* add e2e tests and example contract
* add initial config to test
* Update contract-examples/tasks.ts
Co-authored-by: Darioush Jalali <[email protected] >
* Update contract-examples/test/ExampleRewardDistributor.ts
Co-authored-by: Darioush Jalali <[email protected] >
* Update contract-examples/test/ExampleRewardDistributor.ts
Co-authored-by: Darioush Jalali <[email protected] >
* review fixes
* Update consensus/dummy/consensus.go
Co-authored-by: aaronbuchwald <[email protected] >
* Update params/config.go
Co-authored-by: aaronbuchwald <[email protected] >
* Update params/config.go
Co-authored-by: aaronbuchwald <[email protected] >
* fixs after review
* add string method to reward manager
* revert coinbase syntactic verification
* review fixes
* review fixes
* add disabled precompile test cases
* use hash value instead of address
* config cleanup
* Update contract-examples/tasks.ts
Co-authored-by: Darioush Jalali <[email protected] >
* Update contract-examples/tasks.ts
Co-authored-by: Darioush Jalali <[email protected] >
* more nit fixes
* fix conflict
* add disabled test case
2022-11-21 14:17:25 -05:00
aaronbuchwald and GitHub
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
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
aaronbuchwald and GitHub
4c535bb152
Save cache periodically test ( #319 )
...
* Remove minimum trie clean rejournal time
* Add unit test for trie clean re-journaling
* Add trie clean journal and rejournal to vm.go
* Address comments WIP
* Use fsnotify watcher instead of timeout for trie clean cache write test
* go mod tidy cmd/simulator
2022-10-27 12:36:04 -04:00
d166f0b144
Save cache periodically ( #311 )
...
* Add save cache periodically back
* Add trie clean journal params to config
* Load cache on startup
* Save cache after requested stop from saveCachePeriodically
* Update trie/database.go
Co-authored-by: Darioush Jalali <[email protected] >
* Update trie/database.go
Co-authored-by: Darioush Jalali <[email protected] >
* adds a UT for journal clean cache on shutdown (#314 )
* adds a UT for journal clean cache on shutdown
* nit
* Update SaveCache to use half of available CPU cores
* Update trie/database.go
Co-authored-by: Darioush Jalali <[email protected] >
Co-authored-by: Darioush Jalali <[email protected] >
2022-10-24 16:44:24 -04:00
Ceyhun Onur and GitHub
ce7fddfba3
sync with coreth-v0.10.1 ( #287 )
...
* sync with coreth-v0.10.1
* fix generate test
* go mod tidy in simulator
* my attempt at porting corethv0.10.1
* reconcile trie
* more reconcile
* getting closer
* reduce diff
* fix
* move to blockchain api
2022-10-24 16:13:37 -04:00
aaronbuchwald and GitHub
d4b9fe6d08
Add cache config options for trie db and snapshot ( #310 )
2022-10-20 09:53:32 -07:00