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

[WIP] EVM univ2 loadtest #1414

Closed
wants to merge 203 commits into from
Closed

[WIP] EVM univ2 loadtest #1414

wants to merge 203 commits into from

Conversation

jewei1997
Copy link
Contributor

Describe your changes and provide context

Testing performed to validate your change

udpatil and others added 30 commits March 1, 2024 10:28
* add occ to sei-chain

* don't run forward compatibility

* fix dependency

* update version to latest occ-main cosmos

* enable occ on process-proposal-handler

* fix enabled flag
* Enable dep prefills

* fix loadtest config

* bump go mod

* bump go mod

* bump go mod

* bump go mod

* bump go mod

* update sei-wasmd

* bump go mod

* fix lint and add todos
* add occ unit tests

* fix test to compare 1 vs 10 workers

* cleanup

* add comment

* move const

* optimize imports

* restructure test to avoid linter issues

* fix lint

* more lint

* fix tests and update sei-cosmos

* fix unrelated lint errors

* Revert "fix unrelated lint errors"

This reverts commit 0f9a03a.

* fix linting issues (#1125)

fix lint

---------

Co-authored-by: Uday Patil <[email protected]>
* add trace span for DeliverTxBatch

* update sei-cosmos to latest occ-main

* split out the metric name
…#1135)

* Refactor dex contracts to process memstate

* add mutexes and refactor contract deps struct

* fix initialization of mutex

* update go mod

* update go od

* update resource types

* update dex aclmappings

* update go mod
* add occ wasm testing functionality to loadtest

* update loadtest

* revert loadtest config change

* update sei tester

* fix loadtest

* lint fixes
* remove block gas meter

* uncomment tests

* update go mod

* update go mod
)

* Add tracing spans

* add waitgroup for concurrent writeset estimation
* Rebase with latest loadtest client

* Fix go version

* no lint

* Remove unsed field

* Fix lint
Add seiv2 branch to github CI
update go mod with sei-cosmos tag
* 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
Kbhat1 and others added 14 commits March 4, 2024 10:36
* EVM Precompile send native address

* Update to split usei and wei amount

* Remove denom, fromAddress

* Update assertion

* Update to new SendCoinsAndWei

* remove unnecessary precompile

* Move back to cosmos v0.2.73-evm-rebase-8

* update tests

* Update balance to include wei

* Update balance test

* Update send coins and wei

* uncomment other tests

* update SendAll.bin + fix import error

* Revert balance change

* Add more tests

* More tests

* Update abi

---------

Co-authored-by: kbhat1 <[email protected]>
Co-authored-by: kbhat1 <[email protected]>
Co-authored-by: Jeremy Wei <[email protected]>
Co-authored-by: kbhat1 <[email protected]>
* Fix mnemonic for populate accounts

* Fix new lines
@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.12%. Comparing base (1f607e7) to head (95660c8).
Report is 4 commits behind head on seiv2.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##            seiv2    #1414      +/-   ##
==========================================
+ Coverage   62.96%   63.12%   +0.15%     
==========================================
  Files         350      350              
  Lines       23895    23932      +37     
==========================================
+ Hits        15045    15106      +61     
+ Misses       7986     7964      -22     
+ Partials      864      862       -2     

see 12 files with indirect coverage changes

loadtest/main.go Fixed Show fixed Hide fixed
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.

9 participants