* 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
* 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
* rename test
* Update precompile/allow_list.go
* rename test & use func to create config
* Remove unnecessary role checks
* use config constructor for precompile tests
* Update accounts/abi/bind/precompile_template.go
* Update precompile/contract_native_minter.go
* Update precompile/contract_deployer_allow_list.go
* Update precompile/allow_list.go
* add equals methods
* add new test cases for precompile configs
* use hex to address in tests
* rename helper function
* add verify to contract native minter
* add fee config tests
* add positive cases
* add equal tesets for precompile configs
* Update commontype/fee_config_test.go
* remove comment
* precompile: add formatted errors to precompile verify (#262)
* add duration marshalling
* add ether base regression test
* set etherbase from vm ethConfig
* rename package var
* re-rename avalanchego constants package var
* Update plugin/evm/vm_test.go
* update versions
* Fix updated version
* use bumped ANR branch
* dep from ANR main now
* nits
Co-authored-by: Aaron Buchwald <[email protected]>
Co-authored-by: Felipe Madero <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
* init fee config precompile
* add fee config manager precompile
* complete precompile internal functions
* nits
* add fee config provider
* init cache with limit
* added getFeeConfig func to precompile
* add fee config tasks to hardhat
* add getFeeConfigs for apis
* add unit tests
* update tx pool only if fee config is activated
* Update plugin/evm/block_verification.go
Co-authored-by: Darioush Jalali <[email protected]>
* fix for reviews
* add initial fee config to precompile & default back to chain config
* rename functions in tests
* add deployer allow list test suit
* add last accepted at
* add last accepted test to precompile test
* Revert selectBigWithinBounds changes
* use big int cmp
* move precompile test to last
* fix unit tests
* remove flaky test & ensure tx pool is reorged
* move local rpc into new file
* add comment to cachableFeeConfig
* add timestamp to block context
* add error to newOracle
* fix moar nits
* Nits
* revert allowlist setter helpers
* increase SetFeeConfigGasCost for setting last changed
* add configure validation to fee precompiles
* Address nits
* increase gas cost for wagmi
* Remove fee config from fee config manager config
* Update contract-examples/README.md
Co-authored-by: aaronbuchwald <[email protected]>
* add license to tests
* remove log
* add err check
* Update precompile/utils.go
Co-authored-by: aaronbuchwald <[email protected]>
* Remove no longer necessary test
* contract example nits
* fix contract tests
* lower fees & split into two tests
* use explicit fees
* Nits
* feeconfig nits
* nit
* Fee config precompile nits (#145)
* Add COPYING file from geth (#83)
* Add COPYING file from geth
* Add COPYING.LESSER file
* Add version to code (#136)
* Add version to code
* bump version
* Add version to goreleaser
* Remove version from code in favor of setting at compile time
* use version env
* use v prefix in the version
Co-authored-by: Aaron Buchwald <[email protected]>
* [AV-1855] Simplify build script to place binary in avalanchego plugin directory (#81)
* Simplify build script to place binary in avalanchego plugin directory
* echo binary path
* split shutdown into network stop and client stop, call network stop
after each test, call client stop after suite ends
* add check for network up after stop
* switch to ANR
* bump script to ANR 1.1.3
* fix cluster status check
* minor fix
* cleanup of health/status check
* lint
* nits
Co-authored-by: Ceyhun Onur <[email protected]>
Co-authored-by: Darioush Jalali <[email protected]>
Co-authored-by: Aaron Buchwald <[email protected]>