-
Notifications
You must be signed in to change notification settings - Fork 829
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
Add CW->ERC pointer registry #1499
Conversation
@@ -51,7 +52,7 @@ | |||
|
|||
func MockEVMKeeper() (*evmkeeper.Keeper, sdk.Context) { | |||
testApp := app.Setup(false, false) | |||
ctx := testApp.GetContextForDeliverTx([]byte{}).WithBlockHeight(8) | |||
ctx := testApp.GetContextForDeliverTx([]byte{}).WithBlockHeight(8).WithBlockTime(time.Now()) |
Check warning
Code scanning / CodeQL
Calling the system time Warning test
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## seiv2 #1499 +/- ##
==========================================
- Coverage 61.32% 60.95% -0.38%
==========================================
Files 361 363 +2
Lines 25332 25506 +174
==========================================
+ Hits 15535 15546 +11
- Misses 8885 9047 +162
- Partials 912 913 +1
|
85acc22
to
fd1dec3
Compare
fd1dec3
to
3d73b1d
Compare
* Add CW->ERC pointer registry * fix tests
* Add CW->ERC pointer registry * fix tests
* Add CW->ERC pointer registry * fix tests
* Add CW->ERC pointer registry * fix tests
* Add CW->ERC pointer registry * fix tests
* Add CW->ERC pointer registry * fix tests
Describe your changes and provide context
Add pointer registry and new transaction types for CosmWasm pointer over ERC20/721 contracts. The pointer code is only stored once (either during genesis or migration) and re
instantiated
whenever aRegisterPointer
transaction is processed.The versioning logic is the same as ERC->CW pointers. Note that there is no governance proposal needed for CW->ERC pointers because there is no metadata like decimals and symbols that need to be supplied (and agreed upon) at pointer creation.
Testing performed to validate your change
unit tests