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

Tony/occ evm #1326

Open
wants to merge 16 commits into
base: evm
Choose a base branch
from
Open

Tony/occ evm #1326

wants to merge 16 commits into from

Conversation

codchen
Copy link
Collaborator

@codchen codchen commented Feb 6, 2024

Describe your changes and provide context

Testing performed to validate your change

udpatil and others added 13 commits February 6, 2024 15:05
* 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
@codchen codchen changed the base branch from yzang/occ-evm to evm February 6, 2024 07:53
@@ -49,6 +49,18 @@
return app.BaseApp.DeliverTx(ctx, req, tx, checksum)
}

// DeliverTxBatch is not part of the ABCI specification, but this is here for code convention
func (app *App) DeliverTxBatch(ctx sdk.Context, req sdk.DeliverTxBatchRequest) (res sdk.DeliverTxBatchResponse) {
defer metrics.MeasureDeliverBatchTxDuration(time.Now())

Check warning

Code scanning / CodeQL

Calling the system time

Calling the system time may be a possible source of non-determinism
@@ -339,7 +339,7 @@
}
validContractsInfo = am.keeper.GetAllProcessableContractInfo(ctx) // reload contract info to get updated dependencies due to unregister above
if len(failedContractToReasons) != 0 {
dexutils.GetMemState(ctx.Context()).ClearContractToDependencies()
dexutils.GetMemState(ctx.Context()).ClearContractToDependencies(ctx)

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods

path flow from Begin/EndBlock to a panic call
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.

4 participants