-
Notifications
You must be signed in to change notification settings - Fork 586
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
e2e: timeout transfer with grandpa light client #5018
Merged
charleenfei
merged 189 commits into
main
from
charly/issue#4926-write-e2e-test-for-timeout-transfer-with-grandpa-light-client
Nov 28, 2023
Merged
Changes from all commits
Commits
Show all changes
189 commits
Select commit
Hold shift + click to select a range
01e8548
feat: add wasm light client module to feat/wasm-clients branch (#3486)
misko9 40337dd
Merge branch 'main' into feat/wasm-clients
crodriguezvega 90ed894
linting
crodriguezvega cf6fbfe
Migrated the errors to new package (#4058)
vishal-kanna 28d46c1
Merge branch 'main' into feat/wasm-client
charleenfei 255905a
imp: make separate go.mod for 08-wasm (#4026)
crodriguezvega 8bc0c68
imp: remove code id key from genesis contract (#4032)
crodriguezvega b6e8a3a
fix imports
crodriguezvega 2901cf8
bump wasmvm (#4086)
crodriguezvega 581a27f
build and test wasm client on PR (#4095)
Reecepbcups 5a1a249
add authority param to wasm NewKeeper (#4092)
Reecepbcups 3607dd2
Merge `storeWasmCode` and `importWasmCode` functions (#4088)
crodriguezvega 9298fe6
Pin code to the wasm VM cache (#4093)
Reecepbcups 731dbbf
just some renaming
crodriguezvega 59ccad5
renaming to align with x/wasm naming (#4091)
crodriguezvega 62ed4fb
imp: disallow submessage execution (#4130)
crodriguezvega 341350a
use sudo (#4131)
crodriguezvega f822b4f
fix wrapf warning (#4172)
DimitrisJim bffb649
Merge branch 'main' into feat/wasm-clients
crodriguezvega bf9d465
Add linting for 08-wasm module (#4206)
DimitrisJim ed41863
add 08-wasm global store key (#4185)
crodriguezvega de89920
imp: delegate store operation of `clientState` and `consensusState` i…
crodriguezvega 644367f
imp: remove `timestamp` from `consensusState` and query contract to r…
crodriguezvega 20d4d7e
imp: remove `height` from `header` and merge `header` with `misbehavi…
crodriguezvega 54f29ee
imp: add query and sudo message types to encapsulate all variants of …
crodriguezvega c4f8da4
add 08-wasm Keeper constructor that accepts pointer to Wasm VM instan…
crodriguezvega 2e17bb2
Allow same VM to be assigned to the global vm. (#4236)
DimitrisJim 49c5e7d
Disallow events, attributes being returned from a contract. (#4222)
DimitrisJim 4f0a711
Clean up vm entry points (#4279)
DimitrisJim 479f470
Merge branch 'main' into feat/wasm-clients
crodriguezvega 2a7c242
add halborn audit report
adiraviraj fb9eed5
Add files via upload
adiraviraj 03d077b
add wasm client audit reports (#4351)
adiraviraj 16e1026
Document contract api. (#4283)
DimitrisJim 2913dbd
oh linter you. (#4369)
DimitrisJim 83ca9bb
deps(08-wasm): bump SDK v0.47.5 (#4540)
crodriguezvega fb745e8
add 08-wasm to dependabot
crodriguezvega 1425ca2
Merge branch 'main' into feat/wasm-clients
crodriguezvega 17d255c
cherry pick commit fixing broken links
crodriguezvega 8f5354b
Fix dependabot file.
DimitrisJim 120d45b
Add new cmd to store code via a gov proposal. (#4565)
DimitrisJim 81086e4
update wasm clients branch linter to match main (#4609)
faddat 94f380d
chore: implement `appmodule.AppModule` interface (#4607)
crodriguezvega 12d74a9
add proposal simulator interface and tests (#4608)
crodriguezvega bbec01f
ci: use go1.21 for wasm clients (#4610)
faddat 090bc9f
remove toolchain / go mod tidy
crodriguezvega 1bc5845
Update wasm light client unit tests and tendermint/grandpa cw contrac…
misko9 aa8598d
PR 4306 comments
crodriguezvega 70efe3a
fix dead links
crodriguezvega 95c9e29
fix broken links
crodriguezvega c87c590
test: check nil vm and empty authority (#4722)
crodriguezvega 2d63b4a
add extra documentation for wasmCall and wasmQuery (#4752)
crodriguezvega 60e565b
Duplicate simapp in 08 wasm (#4532)
DimitrisJim 4f0198c
chore: add 08-wasm events (#4605)
crodriguezvega 43106d5
Go mod tidy. (#4776)
DimitrisJim 540db8c
Add workflow to build image for 08-wasm (#4777)
DimitrisJim 159343d
add comment
crodriguezvega 61db385
Use an error when panicking. (#4791)
DimitrisJim 18a2185
imp: use interface instead of concrete type for wasmvm (#4802)
colin-axner 5bff313
Merge branch 'main' into cian/merge-main-wasm
chatton f6be1b8
chore: fixing TestVerifyMisbehaviourTendermint test suite
chatton 64fe692
chore: fixing linting issues and making linter runnable on mac
chatton c7324c2
chore: updating callbacks workflow
chatton 48cadc5
chore: change callbacks workflow to build in docker
chatton 595b8b9
chore: updating callbacks dockerfile
chatton e9c0862
chore: commented out part of test matrix
chatton 176a497
fix: rm dependency on 08-wasm in ibc-go (#4801)
charleenfei 9a7b9b7
imp: remove unused fields, functions of contract result (#4750)
crodriguezvega be3e2ff
Merge branch 'feat/wasm-clients' into cian/merge-main-wasm
chatton b863dd3
chore: addressing PR feedback
chatton b61ede0
chore: pr feedback
chatton 86478ce
Merge pull request #4805 from cosmos/cian/merge-main-wasm
chatton 7032548
feat: add mockVM for wasm clients testing (#4804)
colin-axner 3f4061b
Dont pull wasmvm static lib in simd dockerfile. (#4817)
DimitrisJim 1c7e148
Remove wasm additions to main test workflow. (#4819)
DimitrisJim 0ea6d08
uncomment init function (#4833)
charleenfei 551fb95
chore: add has validatebasic compiler assertion (#4742)
crodriguezvega 42ad3cf
Ensure wasmvm static library version matches wasmv import in gomod (#…
chatton 8c9c717
align error on signer not matching authority, use expected error in s…
crodriguezvega 32e4bd7
fix: make Verify Von/Membership calls sudo calls instead of queryMsg …
charleenfei bd8e201
Bump wasmvm to 1.4.1 (#4857)
DimitrisJim cd7b5d6
Store code before creating a wasm client. (#4851)
DimitrisJim 10ffafa
Run grandpa e2e test in ci (#4880)
chatton 2ff2052
Add test for types registered in 08-wasm. (#4853)
DimitrisJim bc380a4
Improve mock wasmvm query implementation (#4879)
chatton c9f3ba5
Remove codeHash const from types_test, use wasmtesting. (#4891)
DimitrisJim 403af69
Add checks in ValidateBasic for StoreCode, add tests for messages. (#…
DimitrisJim 2a39e7f
Only store code hashes in store. (#4292)
DimitrisJim bde2a2f
Add mapping for sudo payloads callbacks in mockVM (#4897)
DimitrisJim b54ac97
Add test case for invalid Initialize call due to unstored contract. (…
DimitrisJim 76bae0d
imp(08-wasm): exported contract responses to tests (#4902)
srdtrk ab35cf4
fix(08-wasm): removed panic in 'CheckForMisbehaviour' (#4907)
srdtrk bcdceab
test(08-wasm): added 'TestInitialize' using mockVM (#4894)
srdtrk e3790f5
Use the Response types in TestStatus. (#4910)
DimitrisJim 19368c9
Remove GetSigners from StoreCode msg. (#4911)
DimitrisJim 335286d
style(08-wasm): renamed 'grandpaClientID' -> 'defaultWasmClientID' (#…
srdtrk f02c619
fix(08-wasm)!: use concrete types for json serialization (#4909)
damiannolan fb594f6
fix exportedd type refs (#4920)
charleenfei 5121172
chore: make wasm contract api exported (#4927)
damiannolan 02fe742
fix: add build flag directives to ignore e2e test (#4924)
damiannolan 6f4102e
test: `CheckForMisbehaviour` payload using mock vm (#4901)
charleenfei e655794
Take your time. (#4938)
DimitrisJim 8a0eda1
test: `VerifyClientMessage` using mockVM (#4921)
charleenfei 40ba894
test: adding `VerifyMembership` tests with mock wasm engine (#4923)
damiannolan dd6d028
test(08-wasm): added 'TestUpdateState' using mockVM (#4914)
srdtrk e2522b2
Add additional coverage for test initialize. (#4940)
DimitrisJim 8c1ed9a
Add mock test for VerifyUpgradeAndUpdateState (#4930)
DimitrisJim cb38b85
test: adding verify non membership tests for 08-wasm clients using mo…
damiannolan 1b4ae46
test: `UpdateStateOnMisbehaviour` using mock wasmVM (#4919)
charleenfei 4fa827a
imp(08-wasm): removed panic in `GetCodeHash` and `AddCodeHash` (#4948)
srdtrk 6eb154c
Add ErrMockContract. (#4955)
DimitrisJim a48b631
Add mock height and check for it in membership tests (#4956)
DimitrisJim 90027e4
Add testing for GetTimestampAtHeight (#4960)
DimitrisJim 90e345a
Remove panic handling testing code for non-panicking methods. (#4957)
DimitrisJim 1d31c73
Update Grandpa Contract Test to work with SDK v0.50 (#4959)
chatton 0abc469
Add mock test for ExportMetadata (#4961)
DimitrisJim 95a1237
feat(08-wasm): use 'clientID' as contract address (#4939)
srdtrk 890ef9d
Move mock engine into testing. (#4936)
DimitrisJim eea9a7d
Add testing for wasmQuery/wasmCall. (#4934)
DimitrisJim 433f1fa
No formatting necessary. (#4985)
DimitrisJim ddb514d
Rename entry points to match vm names. (#4986)
DimitrisJim 56fb2af
imp: `CheckSubstituteAndUpdateState` for 08-wasm client (#4974)
charleenfei 1fa22f3
Delete commented out test for tendermint. (#4989)
DimitrisJim b0142e7
Remove store-code cmd. (#4990)
DimitrisJim 995a3bd
Add mock test for CheckSubstituteAndUpdateState. (#4950)
DimitrisJim 9655a7b
refactor(08-wasm)!: use `collections.KeySet` for code hashes (#4973)
srdtrk bdcc012
cleanup - creating mock var for client state bytes (#4978)
muku314115 7fd07ad
Fix TestScheduleIBCUpgrade_Succeeds on wasm branch (#4997)
chatton 16f7d6c
Modify wrappedStore to allow reads from both substitute and subject, …
DimitrisJim 20c73fd
Remove grandpa unit tests covered by e2e. (#4996)
DimitrisJim 0e13d2e
Build and push wasm image in PRs (#4998)
chatton fe602e0
Add snapshotter extension (#4723)
trinitys7 9e15947
chore: adding type alias for code hash byte slices (#5004)
damiannolan 33993ba
wip: add timeout test
charleenfei 30251d4
Moving mock values in a separate file (#5021)
muku314115 efedb95
Sync gas_register.go with wasmd main (#5007)
chatton 147f0ca
feat(08-wasm): implement 'MigrateContract' RPC endpoint (#5000)
srdtrk 243f36f
chore: rename code ID/checksum to code hash (#5030)
crodriguezvega 729cb09
feat(08-wasm): implement 'RemoveCodeHash' RPC endpoint (#5006)
srdtrk 1e8e25d
wip
charleenfei 0be3f39
Merge branch 'main' into feat/wasm-clients
crodriguezvega 1ac7113
Rename wasmInit to wasmInstantiate and Features to Capabilities. (#5065)
DimitrisJim d7b99e8
chore: rm testsuite ctx and store fields (#5067)
damiannolan 103510a
test(e2e): added migrate contract tests (#5043)
srdtrk c8e9a09
docs: documentation for 08-wasm (#4203)
crodriguezvega 4d67e4c
linter
charleenfei 3a3a998
Merge branch 'main' into feat/wasm-client
charleenfei d22682d
linter
charleenfei bc1f21a
Merge branch 'main' into feat/wasm-client
charleenfei 8c485a1
Set wasmvm cache size to zero. (#5066)
DimitrisJim ee88c74
Merge branch 'feat/wasm-client' into charly/issue#4926-write-e2e-test…
charleenfei e9c2be6
wip: update
charleenfei 1c70944
Add check that wasm contract only modifies code hash in migrateContra…
chatton 86d55a2
small string formatting change
crodriguezvega d982d5d
chore: remove uneeded checking for static linking.
DimitrisJim d3f8709
chore: remove SetCodeHash from Coordinator.
DimitrisJim 33d1315
add 08-wasm to go.work.example
crodriguezvega d0c05d5
Merge branch 'main' into feat/wasm-clients
charleenfei 0bee18b
Fix Upgrade Tests (#5109)
chatton bde614e
Merge branch 'main' into feat/wasm-clients
DimitrisJim 826df9e
imp: unpin contract in remove code hash (#5103)
crodriguezvega c53bac7
imp: return `Unauthorised` if code hash is not stored (#5102)
crodriguezvega 825bf2b
add 08-wasm code owners (#5100)
crodriguezvega 716fcdc
imp: check response in instantiate and migrate from wasm vm calls (#5…
crodriguezvega f4ddaee
address review comments
crodriguezvega 1cf7a2f
add validate genesis
crodriguezvega c24f8ed
gofumpt
crodriguezvega a006cb2
update test
charleenfei 4fe4530
Merge branch 'feat/wasm-client' into charly/issue#4926-write-e2e-test…
charleenfei 2cb6729
wip: latest cms
charleenfei e71b80f
remove grandpa tests using test data
crodriguezvega edc525f
unused field
crodriguezvega 7b377ea
Add an error-ing implementation for GoAPI. (#5105)
DimitrisJim 3b1cb9a
Rename codeid/codehash to checksum (#5107)
DimitrisJim ff6f9a7
Merge branch 'main' into feat/wasm-clients
crodriguezvega c983119
Go mod tidy on 08-wasm.
DimitrisJim c0402b9
increase block time
charleenfei a344eb5
Merge branch 'feat/wasm-client' into charly/issue#4926-write-e2e-test…
charleenfei c5c6d78
merge artifacts
charleenfei 4df51ff
sample config
charleenfei 90f57ae
update relayer to support timeout
charleenfei 769431c
rm validation for polkadot chain tx
charleenfei 56a1e6b
Merge branch 'main' into charly/issue#4926-write-e2e-test-for-timeout…
charleenfei c842f39
merge artifacts
charleenfei 554e53c
last merge artifact hopefully
charleenfei c8936c5
Merge branch 'main' into charly/issue#4926-write-e2e-test-for-timeout…
charleenfei 558c204
Merge branch 'main' into charly/issue#4926-write-e2e-test-for-timeout…
charleenfei 3d9ffb1
Merge branch 'main' into charly/issue#4926-write-e2e-test-for-timeout…
charleenfei 8ff31e1
update to separate test
charleenfei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a bit weird that the tag is called timeout :P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah it is a bit weird, maybe for now we can re-tag this image and give it a better name. Happy if this happened in a follow up though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea, i think this should hopefully be fixed once we have a stable relayer image that's not running off just a branch...