Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Emit event for contract registration (#1518)" #1528

Open
wants to merge 239 commits into
base: seiv2
Choose a base branch
from

Conversation

codchen
Copy link
Collaborator

@codchen codchen commented Apr 10, 2024

This reverts commit e2440de.

Describe your changes and provide context

Testing performed to validate your change

codchen and others added 30 commits March 26, 2024 14:16
* evm wip

* Create EVM module and add types/keeper

* lint

* rebase

* tests

* add tests

* address comments
* evm wip

* Create EVM module and add types/keeper

* add tests

* EVM signature verification

* refactor
* [EVM] Add gas check ante handler

* add tests and remove unnecessary configs/versions
* [EVM] implement balance related methods for state interface

* add tests
)

* Add account state to EVM state interface implementation

* add Snapshot and rollback
* [EVM] Add gas check ante handler

* [EVM] implement balance related methods for state interface

* Add account state to EVM state interface implementation

* add Snapshot and rollback

* wip

* [EVM] add remaining state interface function

* rebase
* Add account state to EVM state interface implementation

* add Snapshot and rollback

* wip

* [EVM] add remaining state interface function

* [EVM] access list

* add unit tests

* improve code coverage

---------

Co-authored-by: Jeremy Wei <[email protected]>
* [EVM] implement message server that processes EVM transactions

* add tests
* [EVM] implement message server that processes EVM transactions

* [EVM] add bank precompile

* upgrade to Go 1.20

* rename coinbase

* tests & linter
* [EVM] implement message server that processes EVM transactions

* rename coinbase

* [EVM] add RPC/WS server helpers

* tests

* fix
* [EVM] implement message server that processes EVM transactions

* rename coinbase

* [EVM] add RPC/WS server helpers

* tests

* wip

* [EVM] add getBlockByHash endpoint

* rebase
[EVM] add endpoint to get block transaction count
* [EVM] add get transaction receipt endpoint

* refactor tests
[EVM] add getTransaction endpoints
[EVM] refactor gas logic
* [EVM] add endpoint to return fee history

* bump to 1.21
* Implement get code, storage, balance endpoints

* revert logging change

* also using bank keeper to check for balances

* appease linter
* simulate api

* add tests

* linter
* [EVM] add subscription utility

* finished new filter

* finished tests for new filter

* finished uninstall filter

* query tendermint for events

* in progress

* got first couple of tests done

* finished tests for get logs

* get filter logs and get filter changes

* refactor

* get filter logs accepts multiple addresses

* use multiple addresses and use cursor map

* remove bad test

* remove prints and todos

* minor fix

* fix lint errors and failing test

* poc to pass filtercriteria into JSON RPC

* made topics 2d array and adjusted regex

* GetLogs tests work

* Finished other functions

* remove unncessary inputs from NewFilterAPI

* add expiration/timeouts for filters

* removed error from UninstallFilter

* minor fix

* appease linter

---------

Co-authored-by: codchen <[email protected]>
* [EVM] return gas info in message handler correctly

* add comments
* integration

* fix tests
* [EVM] add transaction type to associate account

* tests
* [EVM] add transaction type to associate account

* [EVM] convert balance decimal points

* [EVM] add ACL dependencies for EVM transactions

* Revert "[EVM] add ACL dependencies for EVM transactions"

This reverts commit 5376a87.

* address comments
* added new block filter

* wip

* finished tests

* minor fix

* fix lint

* minor fix

* fix test
Kbhat1 and others added 21 commits April 4, 2024 09:15
evm Basic Ante during delivery
Update Precompile Input Method + Evm Balance
* Precompiles Raise Error over Panic

* Update test

* update test
* not following eip-4788

* add run_blocktests script

* add initialize_local_chain_no_run script

* add prints

* add more prints

* made min fee per gas 0

* Revert "add more prints"

This reverts commit 3c940e1.

* Revert "add prints"

This reverts commit fd28389.

* 2 new failing tests

* use initialize local chain with NO_RUN flag

* Revert "Revert "add more prints""

This reverts commit 4c7603a.

* Revert "Revert "add prints""

This reverts commit 98ea147.

* increment height in getHash and ignore withdraw addrs

* update failed tests

* add eth blocktests

* adjust git clone

* Revert "Revert "Revert "add more prints"""

This reverts commit 1e0aede.

* Revert "Revert "Revert "add prints"""

This reverts commit 3764122.

* Split eth blocktests in CI

* Modify ethtests path

* refactor output

* minor fix

* add debug statement

* Add more stuff

* wrap filesnames with quotes

* github workflow split tests

* fix ethtests script

* fix ethtests script

* fix ethtests script

* fix ethtests script

* adjust for invalid block tests

* a bunch of invalid block tests seem to work

* run invalid block tests in ci

* add logging

* sort block tests

* reduce prints

* reduce prints

* now getting real errors

* cleanup

* cleanup

* not run blockWithAllTransactionTypes

* Revert "not run blockWithAllTransactionTypes" - this should work

This reverts commit 51aa2b1.

* not run blockWithAllTransactionTypes

---------

Co-authored-by: Uday Patil <[email protected]>
* Require `from` in TransferFrom in CW721 pointer to be the owner

* test
@codecov-commenter
Copy link

codecov-commenter commented Apr 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.15%. Comparing base (e2440de) to head (355bd5b).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##            seiv2    #1528      +/-   ##
==========================================
- Coverage   60.21%   60.15%   -0.07%     
==========================================
  Files         363      363              
  Lines       25797    25765      -32     
==========================================
- Hits        15533    15498      -35     
- Misses       9277     9278       +1     
- Partials      987      989       +2     
Files Coverage Δ
precompiles/pointer/pointer.go 32.62% <ø> (-0.05%) ⬇️
x/evm/gov.go 100.00% <ø> (ø)
x/evm/keeper/msg_server.go 77.27% <ø> (-0.73%) ⬇️

... and 3 files with indirect coverage changes

@codchen codchen force-pushed the try-revert-emit branch 4 times, most recently from afb1633 to 7ef488e Compare April 10, 2024 03:52
@udpatil udpatil force-pushed the seiv2 branch 2 times, most recently from aa0aca9 to 4eea060 Compare April 19, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.