2ba8bcd80e
Precompile events allow list ( #968 )
...
* add equality tests
* regenerate abis
* add extra padding tests
* override network upgrades (#839 )
* override network upgrades
* genesis network upgrades defaults
* fix conflicts
* Update plugin/evm/vm.go
* update native minter
* nativeminter nit test changes
* replace fee manager packers
* remove generated abis
* Update precompile/contracts/feemanager/contract.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* fix comments
* add event packing/unpacking to contract template
* add pack event tests to template
* add event precompile bind tests
* nits
* separate event file
* Update accounts/abi/bind/precompilebind/precompile_bind.go
Co-authored-by: aaronbuchwald <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* revert set changes
* change event comments
* wip: log allow list events
* propagated allow list events to other precompiles
* add get event gas cost and tests
* nits
* revert unrelated changes
* add allowlist events
* add topics to GetLogData
* fix dep cycle in tests
* add allowlist hardhat tests
* use len in zero assertion
Signed-off-by: Ceyhun Onur <[email protected] >
* Update test_allowlist.go
Signed-off-by: Ceyhun Onur <[email protected] >
* add sender to indexed topics
* Update utils.go
Signed-off-by: Ceyhun Onur <[email protected] >
* add output names
* add signature topic gas costs
* Update precompile/testutils/test_precompile.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* Update accounts/abi/bind/precompilebind/precompile_event_template.go
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* fix tests
* fix tests
* return err
* add RoleSet event
* Update contracts/test/contract_deployer_allow_list.ts
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* Update contracts/test/tx_allow_list.ts
Co-authored-by: Darioush Jalali <[email protected] >
Signed-off-by: Ceyhun Onur <[email protected] >
* add assert event func
* use hash len
---------
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] >
Co-authored-by: aaronbuchwald <[email protected] >
2023-12-21 19:05:04 +03:00