-
Notifications
You must be signed in to change notification settings - Fork 31
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
feat: merge wasmd v0.27.0 #570
Merged
Merged
Changes from 1 commit
Commits
Show all changes
144 commits
Select commit
Hold shift + click to select a range
8e5f86d
Important: add iterator feature support
ethanfrey 51db87b
Fix inconsistent return of contractAddress from keeper/init()
assafmo 5eaa33d
Handle contract info query
alpe 7596bc4
Implement tx counter for transaction info
alpe eba1387
Treat all contracts as pinned for gas costs in reply
ethanfrey 40a4f52
Adjust gas prices in tests
ethanfrey 566713c
Query all pinned code ids
alpe a488fab
Upgrade wasmvm-v1.0.0-soon2
alpe f985d50
Benchmarks for gas pricing
ethanfrey c1d2cb5
Update gas costs
alpe 4e90a9b
fix: fix build error
shiki-tak 7ff106e
remove unused flags from cmd prompt
fkneeland-figure 43d8345
Add golangci lint check on pull requests
fkneeland-figure 5e4eb96
Fix message representation for signing
alpe d247e9c
Add linter name and minor golint related updates
alpe 763762e
Fixed wrong error message when lastCodeID value is incorrect
fkneeland-figure c62d0d9
Disable false positive
alpe c2b8b3c
Open read access to sequences
alpe aa6e12a
Limit simulation gas
alpe 95f7d37
fix: build error
shiki-tak ac0957c
Return NoSuchContract system error instead of sdk error in ContractIn…
maurolacy 0aa7bff
Implement PinCode and UnpinCode proposal client handlers (#707)
orkunkl dbf864e
Upgrade wasmvm to v1.0.0-beta5
alpe 68a1a39
Upgrade to cosmos-sdk v0.45.0
alpe 06c83fe
Proper systemerror follow-up
maurolacy 86d0a86
Failing test showing it was not currently pinned
ethanfrey c2c461e
And properly pin it on governance vote
ethanfrey fa95a2f
Require --no-admin flag if no admin set
ethanfrey e1d1e12
Fix tests, handle genesis init as well
ethanfrey 0fb3d3e
Fixed error message capitalization
ethanfrey d1e6f74
Add new proto types for the sudo an execute proposals
ethanfrey dde48d8
Compile proto files
shiki-tak a539857
Registered new proposal types
ethanfrey c612791
fix: remove unnecessary print
shiki-tak b3ec5ec
Wire up proposal handlers
ethanfrey ee96128
Wire up cli for exec and sudo proposal
ethanfrey ba93d96
Add rest routes for proposals;
ethanfrey 72266ee
Add tests for Rest client
ethanfrey f9be9b2
Test execute and sudo proposal handlers
ethanfrey 12faa2d
Remove RunAs from Migrate proposal
ethanfrey d13503b
fix tests
ethanfrey 21163d8
Allow sending tokens along with governance wasm_execute proposal
ethanfrey 5b639c7
Update documentation
ethanfrey 275e1c5
Minor integration support
alpe 0ccbd77
add missing colons in String of some proposals
loloicci a8c5282
Replace custom codec with sdk codec
alpe a5acf9f
Redact errors returned in reply
ethanfrey d672287
Fix lint error, failing test
ethanfrey abc8088
Fix submessage tests
ethanfrey fe5cf17
Adjust error string
ethanfrey 3308c2d
Handle nil logger again
ethanfrey 1e77542
Revert "Handle nil logger again"
alpe e485eb5
Fix test setup and assertions
alpe 6225729
Add no admin flag for gov
alpe 809883d
Relaxed address strength restrictions for legacy 20 byte addresses
iramiller ee91fa3
Make utils methods public
pinosu 62e2ba7
Mark a whole lot of tests to skip on m1 as they core dump
ethanfrey b5362ba
Redact query errors
ethanfrey 7684efc
Add deny list for some grpc queries
ethanfrey e24b4c4
fix: build error
shiki-tak e395e2f
Make type conversion helpers public
alpe cd78988
cleanup from PR comments
ethanfrey 3a7a96e
fix: rename path
shiki-tak 324b727
Improve how we redact query errors
ethanfrey ce654a8
Skip a few more tests on m1
ethanfrey d21ed2a
Ensure SystemError is consistently unredacted
ethanfrey cebe17d
fix: close iterators
albertchon 7ca8673
Use callback pattern for contract state iterator
alpe b689f00
Add more tests for event edge cases
alpe 35e17c4
fix: build error
shiki-tak 596bf38
Unpack contract details from genesis
alpe 1672d37
Revisit gov params doc and tests
alpe 9beb9db
Add missing sudo and execute to codec
the-frey e874cf6
Add a basic validation test
the-frey 5d9946d
Disable stargate queries
webmaster128 aca49b5
Remove dead code to make linter happy
webmaster128 e4a9894
Add ExecuteContractProposal test
the-frey 6be179a
Make MaxLabelSize a var not const
ethanfrey 606ba24
Add and test JSON object matcher
webmaster128 64da1eb
fix: fix import
shiki-tak 81823ed
Make IsJSONObjectWithTopLevelKey public
webmaster128 930c4c0
Add WasmSnapshotter
assafmo 1e31d3c
Make snapshot from keeper
ethanfrey de4689a
Rough draft of the restore method using multistore
ethanfrey 4e2e7c4
properly register the snapshot manager
ethanfrey a8ce0cc
Move snapshotter to keeper and implement
ethanfrey 69cd2b3
Add compression to snapshot wasm bytecode
ethanfrey 713a951
Put GzipIt and Uncompress logic in a common folder
ethanfrey 0f3fb97
Fix linting errors
ethanfrey 6c33a30
Avoid sending duplicate wasm codes over the wire
ethanfrey 1689a19
Properly handle when a message not for this extension arrives
ethanfrey 34df544
Start testing snapshots
ethanfrey a3c98e1
Basic tend to end test for no errors
ethanfrey 516d24d
Address @giansalex PR comments
ethanfrey e0ea888
Updates inspired by @giansalex branch
ethanfrey 6cc82c5
Cannot commit in my test cases to load from proper height
ethanfrey 8432d2b
SRemove loading history until I can fix tests here
ethanfrey 100e4b6
Cleanup from Simon's comments
ethanfrey a974edd
Consolidate MaxWasmSize constraints into a single var
alpe febb194
fix: allow no admin in instantiation through proposal
jhernandezb 5eb0a99
Add instantiate-nobody flag to cli store cmd (#827)
jhernandezb 9359d65
Add MsgStoreCode and MsgInstantiateContract support to simulations
pinosu 1a93cf4
Add snapshotter integration tests and minor cleanup
alpe de133ca
Minor test update
alpe 01030e6
Fix linter warnings
alpe e4ed0e6
Delete duplicate testdata from simulation
pinosu 0abdd6a
fix: build error
shiki-tak fef78a9
Fix contract path in simulations
alpe 364346e
Add instantiate permission to CodeInfoResponse
jhernandezb d2c0bf8
chore: comment out snapshotter
shiki-tak f9573e6
Minor godoc update
alpe bd104e1
Bump wasmvm to v1.0.0-rc.0
alpe f2fc24a
Add libwasm-version query command
jhernandezb 44e8e5d
add UpdateInstantiateConfig gov proposal
jhernandezb e8a1a61
update UpdateInstantiateConfigProposal proto definition
jhernandezb 9456862
add to EnableAllProposals
jhernandezb a85ff59
add tests
jhernandezb feea968
fix: fix test error
shiki-tak 2894e75
Add handlers
jhernandezb 83cdcc3
add code-info query command
jhernandezb 4e8029e
fix missing gov registration type
jhernandezb 8e0ef5c
address code review comments
jhernandezb b360591
fix error message
jhernandezb f7f39aa
update proto field name
jhernandezb e003aae
Add compare logic for stricter AccessConfig
ethanfrey 3e4ba9b
Enforce permission less permissive than default
ethanfrey cb271f2
Add a few more tests as requested in review
ethanfrey f4bb19c
Use LibwasmvmVersion from wasmvm root
webmaster128 78dcab0
Adapt codebase to new IBC3ChannelOpenResponse return value
webmaster128 bae4439
fix: test error
shiki-tak 8544575
Use wasmvm import consistently
webmaster128 85751fa
Prepare release notes for 0.27
ethanfrey 77cc9aa
Create query stack size limit
webmaster128 73ea0c2
fix: fix test error
shiki-tak f4f534a
fix: lint error
shiki-tak 8fe027e
chore: update wasmvm version
shiki-tak a5775f3
Merge branch 'main' of github.com:line/lbm-sdk into issues/555
shiki-tak f38b645
chore: coverage up
shiki-tak cce1ef5
fix: change ContractAddrLen
shiki-tak c1d3995
fix: fix protobuf path
shiki-tak 18ae5e2
fix: apply review
shiki-tak d704996
fix: fix typo & missing commit
shiki-tak 7955f0b
chore: adjust gas
shiki-tak dba039e
chore: update go.mod
shiki-tak 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
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
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.
cosmos -> lbm?
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.
Is cosmos ok becase it is the following proto file?
https://github.com/line/lbm-sdk/blob/main/proto/cosmos/tx/v1beta1/service.proto
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.
@loloicci, This proto path was changes in #564 .