-
Notifications
You must be signed in to change notification settings - Fork 66
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
[OCC] add async scheduler to seiv2 (unused) #462
base: seiv2
Are you sure you want to change the base?
Commits on Mar 14, 2024
-
Expose parent on CacheKV (#352)
## Describe your changes and provide context For EVM getProof endpoint, we'd need to call functions on the underlying iavl store, so we'd need a way to expose the parent store from a cachekv ## Testing performed to validate your change
Configuration menu - View commit details
-
Copy full SHA for 2e2d463 - Browse repository at this point
Copy the full SHA 2e2d463View commit details -
Set TxIndex before generating dependencies (#358)
## Describe your changes and provide context We need to make `TxIndex` available during dependency generation so that we can derive the corresponding temporary intermediate account and coinbase account for the message ## Testing performed to validate your change
Configuration menu - View commit details
-
Copy full SHA for f7a3c0e - Browse repository at this point
Copy the full SHA f7a3c0eView commit details -
change DeliverTx to take typed tx (#360)
- To avoid multiple deserialization, as well as adding cached values to sdk.Tx - Add new acl constants for evm subprefixes - Add a new bank send method that doesn't automatically create accounts unit tests & local sei integration
Configuration menu - View commit details
-
Copy full SHA for cf98904 - Browse repository at this point
Copy the full SHA cf98904View commit details -
Integrate with pending txs in mempool (#381)
Integrate with pending txs: - return `ResponseCheckTxV2` - add a new field `PendingTxChecker` field in Context integration with local sei
Configuration menu - View commit details
-
Copy full SHA for 0a74f75 - Browse repository at this point
Copy the full SHA 0a74f75View commit details -
## Describe your changes and provide context ## Testing performed to validate your change
Configuration menu - View commit details
-
Copy full SHA for e46f9a1 - Browse repository at this point
Copy the full SHA e46f9a1View commit details -
Add wei support in bank keeper (#386)
## Describe your changes and provide context Add two new bank keeper functions that allow sub-usei (i.e. wei) sending, where 1 usei = 10^12 wei: ``` SendCoinsAndWei(ctx sdk.Context, from sdk.AccAddress, to sdk.AccAddress, customEscrow sdk.AccAddress, denom string, amt sdk.Int, wei sdk.Int) error GetWeiBalance(ctx sdk.Context, addr sdk.AccAddress) sdk.Int ``` Any usei that is split as a result of wei sending will be stored in an escrow account, which can either be one that's specified by the caller or a default global escrow module account. ## Testing performed to validate your change unit test & local integration with sei-chain
Configuration menu - View commit details
-
Copy full SHA for 9401eb9 - Browse repository at this point
Copy the full SHA 9401eb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a93cbc0 - Browse repository at this point
Copy the full SHA a93cbc0View commit details -
[EVM] Add pending nonce support (#390)
- Adding an expiration handler callback that lets the mempool - sei-protocol/sei-tendermint#179 - e2e testing with hardhat tests
Configuration menu - View commit details
-
Copy full SHA for a85e9b4 - Browse repository at this point
Copy the full SHA a85e9b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b809302 - Browse repository at this point
Copy the full SHA b809302View commit details -
[EVM] Allow multiple txs from same account in a block (#397)
- needs tendermint pr and go.mod update - adds evm properties to the `ResponseCheckTxV2` - adds evm properties to context - hardhat tests on sei-chain repo - unit tests on tendermint repo
Configuration menu - View commit details
-
Copy full SHA for 260d226 - Browse repository at this point
Copy the full SHA 260d226View commit details -
Add an interface function `VersionExists` to store types local sei integration
Configuration menu - View commit details
-
Copy full SHA for eeeba13 - Browse repository at this point
Copy the full SHA eeeba13View commit details -
Add
DeleteAll
method to store type (#402)## Describe your changes and provide context Iterating with mergeiterator to get all keys and then deleting is extremely slow when there are >10 layers of `cachekv`. This PR adds a more efficient function to delete all keys within a range, without having to make recursive calls like mergeiterator. ## Testing performed to validate your change unit test on cachekv --------- Co-authored-by: Philip Su <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2248dd - Browse repository at this point
Copy the full SHA e2248ddView commit details -
Allow balance to go negative in SendCoinsAndWei (#417)
## Describe your changes and provide context Bypass negative check for sends involving Wei escrow accounts, since they may temporarily go negative during tx processing (but will be settled back to 0 in EndBlock) ## Testing performed to validate your change tested with the corresponding sei change
Configuration menu - View commit details
-
Copy full SHA for 46ec3fb - Browse repository at this point
Copy the full SHA 46ec3fbView commit details -
Expose add/sub balance methods on bank keeper (#432)
## Describe your changes and provide context ## Testing performed to validate your change
Configuration menu - View commit details
-
Copy full SHA for d952e2a - Browse repository at this point
Copy the full SHA d952e2aView commit details -
Remove escrow account in wei logic (#434)
## Describe your changes and provide context Since add and sub balance are now decoupled, we no longer need an explicit escrow account, and can implicitly represent "escrow" by direct crediting/debiting account's usei balances. This PR removes the explicit escrow account logic, and also added wei logic in invariant checks ## Testing performed to validate your change unit tests
Configuration menu - View commit details
-
Copy full SHA for 0d9eda0 - Browse repository at this point
Copy the full SHA 0d9eda0View commit details -
Add evm address to keys output (#442)
Derive evm address from private key when showing keys in `seid keys show` and `seid keys list`. This only works for local keyring since it would have access to the private key <img width="1201" alt="Screen Shot 2024-02-26 at 11 18 43 AM" src="https://github.com/sei-protocol/sei-cosmos/assets/6227889/68c9e13d-73a0-471c-b424-238c683e8ec9"> <img width="1204" alt="Screen Shot 2024-02-26 at 11 18 35 AM" src="https://github.com/sei-protocol/sei-cosmos/assets/6227889/6a820b81-0405-42ce-9e17-40efa6c4edbc">
Configuration menu - View commit details
-
Copy full SHA for c859681 - Browse repository at this point
Copy the full SHA c859681View commit details -
Amplify cosmos tx priority (#443)
## Describe your changes and provide context Since EVM transactions specify gas price in unit of wei, we have started representing priority of EVM transactions in wei-per-gas. In order for cosmos transactions' priority to be comparable with EVM transactions', we would like to use the same unit for priority here as well. Hence in this PR we amplify cosmos transaction priority by 10^12 (if the original priority is based on the base denom aka usei) ## Testing performed to validate your change unit test
Configuration menu - View commit details
-
Copy full SHA for 11cfa1c - Browse repository at this point
Copy the full SHA 11cfa1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2e7486 - Browse repository at this point
Copy the full SHA b2e7486View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23a17a2 - Browse repository at this point
Copy the full SHA 23a17a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c54c4f0 - Browse repository at this point
Copy the full SHA c54c4f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f70613 - Browse repository at this point
Copy the full SHA 7f70613View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed2ea7d - Browse repository at this point
Copy the full SHA ed2ea7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4322be8 - Browse repository at this point
Copy the full SHA 4322be8View commit details -
Integrate with tendermint EVM tx replacement logic (#446)
## Describe your changes and provide context See description in sei-protocol/sei-tendermint#206 ## Testing performed to validate your change --------- Co-authored-by: Steven Landers <[email protected]> Co-authored-by: Philip Su <[email protected]> Co-authored-by: Yiming Zang <[email protected]> Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: Uday Patil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7418b51 - Browse repository at this point
Copy the full SHA 7418b51View commit details -
Fix indexesValidated and PrefillEstimates to operate on absolute idx (#…
…454) This is one component that was missed when refactoring to use absolute indices for EVM changes. This change refactors such that prefill estimates will appropriately fill the estimates by absolute Index and indexes validated will similarly check via absolute indices instead of relative. Existing unit tests + loadtesting
Configuration menu - View commit details
-
Copy full SHA for ae6f0c5 - Browse repository at this point
Copy the full SHA ae6f0c5View commit details -
Modify max incarnation fallback (#460)
--------- Co-authored-by: Steven Landers <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for edf3698 - Browse repository at this point
Copy the full SHA edf3698View commit details
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d9a0f35 - Browse repository at this point
Copy the full SHA d9a0f35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73e95cb - Browse repository at this point
Copy the full SHA 73e95cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1823afc - Browse repository at this point
Copy the full SHA 1823afcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d78d934 - Browse repository at this point
Copy the full SHA d78d934View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d77cb8 - Browse repository at this point
Copy the full SHA 7d77cb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1599f5 - Browse repository at this point
Copy the full SHA b1599f5View commit details
Commits on Mar 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7c6493a - Browse repository at this point
Copy the full SHA 7c6493aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76de921 - Browse repository at this point
Copy the full SHA 76de921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c11361 - Browse repository at this point
Copy the full SHA 5c11361View commit details -
Configuration menu - View commit details
-
Copy full SHA for 150e7f1 - Browse repository at this point
Copy the full SHA 150e7f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16136b1 - Browse repository at this point
Copy the full SHA 16136b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0edfa5e - Browse repository at this point
Copy the full SHA 0edfa5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cc2a9b - Browse repository at this point
Copy the full SHA 0cc2a9bView commit details