Skip to content

WIP: Secret 1.2.x #21

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

Open
wants to merge 249 commits into
base: secret
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
adc46de
Update prettier and re-format text
webmaster128 Nov 16, 2022
889062f
Add CI job for testing cosmwasm-vm on Windows
webmaster128 Nov 21, 2022
0b39abe
Change filesystem errors to be consistent across operating systems
webmaster128 Aug 30, 2022
530c979
Remove system specific detail from error message
webmaster128 Aug 30, 2022
b4316bf
Add CHANGELOG entry
webmaster128 Nov 21, 2022
5cbf5e0
Merge pull request #1406 from CosmWasm/remove-filesystem-details
webmaster128 Nov 21, 2022
3c26a3d
Add `cosmwasm_1_2 feature`
uint Nov 8, 2022
869072e
Add `GovMsg::VoteWeighted`
uint Nov 8, 2022
9a46fe9
Update CHANGELOG
uint Nov 8, 2022
e59234e
update CHANGELOG
uint Nov 21, 2022
7e117a3
Add the `cosmwasm_1_2` export
uint Nov 21, 2022
e161a76
Merge pull request #1481 from CosmWasm/vote-weighted
webmaster128 Nov 21, 2022
2a5951c
schema: Add option to generate separate JSON schema files
uint Nov 7, 2022
c15d57d
CHANGELOG update
uint Nov 8, 2022
afc2a7e
make schema gen export raw schemas by default
uint Nov 21, 2022
89cfede
Merge pull request #1478 from CosmWasm/separate-schema-files
webmaster128 Nov 22, 2022
d52f977
Add initial instantiate2_address implementation
webmaster128 Nov 21, 2022
f5b007a
Test invalid checksum lengths
webmaster128 Oct 18, 2022
c5ddc3d
Test instantiate2_address against test vectors
webmaster128 Oct 18, 2022
e05b74e
Test Basic Address hash
webmaster128 Nov 21, 2022
b121538
Fix doc text
webmaster128 Nov 21, 2022
4e84417
Add CHANGELOG entry for instantiate2_address
webmaster128 Nov 22, 2022
505ba79
Merge pull request #1451 from CosmWasm/instantiate2
webmaster128 Nov 22, 2022
b54c8ed
docs: provide a list of all built-in capabilities
uint Nov 22, 2022
46350b8
Revert "docs: provide a list of all built-in capabilities"
uint Nov 22, 2022
9fd9890
docs: provide a list of all built-in capabilities
uint Nov 22, 2022
6cbfcaa
typo
uint Nov 22, 2022
0f4468a
Update docs/CAPABILITIES.md
uint Nov 22, 2022
6033d91
Merge pull request #1503 from CosmWasm/capabilities_list
webmaster128 Nov 22, 2022
967e829
Merge branch 'main' into 1.1
uint Nov 22, 2022
e4ab355
Merge pull request #1507 from CosmWasm/1.1
uint Nov 22, 2022
546cb4a
Use Display representation for embedding Wasmer InstantiationErrors
webmaster128 Nov 23, 2022
872cfce
Merge pull request #1509 from CosmWasm/InstantiationError-display
webmaster128 Nov 23, 2022
52d2659
Fix link to cargo registry on Windows
webmaster128 Nov 23, 2022
2c9312f
Merge pull request #1510 from CosmWasm/cargo-registry-link-windows
webmaster128 Nov 23, 2022
01f74b2
Remove check_contract implementation
webmaster128 Nov 28, 2022
bd915c3
Merge pull request #1519 from CosmWasm/rm-check_contract-implementation
webmaster128 Nov 28, 2022
b2ad9ce
test nested QueryMsg with generics
uint Nov 28, 2022
25ae6eb
Support nested QueryMsg with generics
uint Nov 28, 2022
72ab734
Update CHANGELOG
uint Nov 28, 2022
5de0bf4
Test nested QueryMsg w generics
uint Nov 28, 2022
e4000df
Fix nested QueryMsg with doc comments errors
uint Nov 28, 2022
2333f19
fix schema dependencies
uint Nov 29, 2022
43cbe24
Merge pull request #1520 from CosmWasm/generics-fix
uint Nov 29, 2022
f853b54
Add cache test new_base_dir_will_be_created
webmaster128 Dec 6, 2022
e5de160
Check new base dir does not exist yet
webmaster128 Dec 6, 2022
bda40c5
Merge pull request #1530 from CosmWasm/test-new_base_dir_will_be_created
webmaster128 Dec 6, 2022
a474ae3
Fix data in raw/{query,migrate,sudo}.json
webmaster128 Dec 6, 2022
e10ea6f
Regenerate contract schemas
webmaster128 Dec 6, 2022
c939aff
Add PR links to raw JSON Schema directory change
webmaster128 Dec 6, 2022
77cfd7b
Merge pull request #1533 from CosmWasm/fix-raw-json-schema
webmaster128 Dec 6, 2022
a82b4a9
Test cpu_loop
webmaster128 Dec 6, 2022
d5f2b44
Update schemas for new cpu_loop type
webmaster128 Dec 6, 2022
63d7757
Merge pull request #1531 from CosmWasm/create-out-of-gas-test
webmaster128 Dec 6, 2022
86d91a9
Merge branch '1.1'
webmaster128 Dec 6, 2022
b3d136e
Add contract folders to arm64 caching
webmaster128 Dec 6, 2022
43d345a
Split into two caches: v4-arm64-workspace-... and v4-arm64-contracts-...
webmaster128 Dec 6, 2022
b23b020
Use cache
webmaster128 Dec 6, 2022
98cd512
Merge pull request #1532 from CosmWasm/arm-caching-ci
webmaster128 Dec 6, 2022
694875e
Upgrade serde-json-wasm to 0.5.0
webmaster128 Dec 6, 2022
bfa5270
Merge pull request #1535 from CosmWasm/serde-json-wasm-0.5.0
webmaster128 Dec 6, 2022
368e933
Create introduction to the CosmWasm development contracts
webmaster128 Dec 7, 2022
fb6b608
Add StorageLoop, MemoryLoop, MessageLoop, AllocateLargeMemory and Pan…
webmaster128 Dec 7, 2022
49cf319
Add Unreachable message to cyberpunk contract
webmaster128 Dec 7, 2022
7063e44
Cleanup cyberpunk unreachable
webmaster128 Dec 7, 2022
fbb75a6
Re-build cyberpunk.wasm
webmaster128 Dec 7, 2022
c7c5ba2
Test panic and unreachable
webmaster128 Dec 7, 2022
0ba91a5
Merge pull request #1536 from CosmWasm/better-cyberpunk
webmaster128 Dec 7, 2022
364778f
Contracts: Move all schema.rs from examples to src/bin
webmaster128 Dec 8, 2022
c5ee42a
Remove poorly maintaned schema generator from cosmwasm-std
webmaster128 Dec 8, 2022
6973b93
Merge pull request #1537 from CosmWasm/schems.rs-to-bin
webmaster128 Dec 9, 2022
e2cb4be
Move riffle_shuffle insto its own file
webmaster128 Dec 12, 2022
736aef5
Improve docs and testing
webmaster128 Dec 12, 2022
b7cd072
Increate CANONICAL_LENGTH from 54 to 90 in MockApi
webmaster128 Dec 12, 2022
4792a97
Improve error messages for BackendApi length restrictions
webmaster128 Dec 12, 2022
a205951
Increase CANONICAL_LENGTH from 54 to 64 on backend MockApi
webmaster128 Dec 12, 2022
a11e471
Add CHANGELOG entry: Increase length limit for address conversion
webmaster128 Dec 12, 2022
87f3966
Hackatom: Change error case to too long and increase value to > 90 bytes
webmaster128 Dec 12, 2022
266cbee
Merge pull request #1541 from CosmWasm/bump-CANONICAL_LENGTH
webmaster128 Dec 12, 2022
c97f663
Sort contracts alphabetically
webmaster128 Dec 12, 2022
1d7a94e
Add missing cyberpunk and floaty entries to clippy config
webmaster128 Dec 12, 2022
41914ec
Merge pull request #1543 from CosmWasm/clippy-cache
webmaster128 Dec 12, 2022
0b3db00
Fix check_workspace.sh [skip ci]
webmaster128 Dec 12, 2022
122d1d4
Pull out check_contract CI command and check contract formatting there
webmaster128 Dec 12, 2022
09484ec
Remove contracts from clippy job
webmaster128 Dec 12, 2022
49ff9fb
Bump min Rust to 1.60.0
webmaster128 Dec 12, 2022
97a40b7
Merge pull request #1547 from CosmWasm/dedup-contract-checks
webmaster128 Dec 12, 2022
f14d308
Bump cosmwasm-std version to 1.1.9 in [dev-dependencies] [skip ci]
webmaster128 Dec 12, 2022
4525f29
Set version: 1.2.0-beta.0
webmaster128 Dec 12, 2022
da76819
Organize From implementations
webmaster128 Dec 20, 2022
3d8bfa0
Implement AsRef<[u8]> for Binary and HexBinary
webmaster128 Dec 20, 2022
1558877
Merge pull request #1553 from CosmWasm/as_ref-implementation
webmaster128 Dec 20, 2022
3b352a9
Add missing cosmwasm_1_2 features
webmaster128 Dec 12, 2022
36146e7
Add WasmMsg::Instantiate2
webmaster128 Dec 12, 2022
6390958
Merge pull request #1523 from CosmWasm/Instantiate2
webmaster128 Dec 20, 2022
f59ee3d
Remove msg argument from instantiate2_address
webmaster128 Dec 20, 2022
93582b9
Link update PR #1554 to instantiate2_address/Instantiate2 CHANGELOGs
webmaster128 Dec 20, 2022
ccf3f08
Remove fix_msg argument from Instantiate2
webmaster128 Dec 20, 2022
0ec587d
Merge pull request #1554 from CosmWasm/instantiate2_address-no-msg
webmaster128 Dec 21, 2022
c8bfa9c
supplyresponse::new
Dec 18, 2022
6da0ab7
Format code
webmaster128 Dec 21, 2022
ad62c70
Improve documentation for query response constructors
webmaster128 Dec 21, 2022
629aa72
Add CHANGELOG entry for SupplyResponse::new
webmaster128 Dec 21, 2022
2bd030a
Merge pull request #1552 from 0xArbi/arb/supplyresponse
webmaster128 Dec 21, 2022
2534999
Bump clippy to and fix some new warnings
webmaster128 Dec 23, 2022
e348516
Create constants ED25519_VERIFY_CODE_{IN,}VALID and SECP256K1_VERIFY_…
webmaster128 Jan 2, 2023
abc9bcc
Merge pull request #1557 from CosmWasm/clippy-1.66.0
webmaster128 Jan 2, 2023
a3f9ad7
Add QueryResponseType trait
webmaster128 Jan 2, 2023
34f78d3
Adapt CHANGELOG entry and add follow-up PR link
webmaster128 Jan 2, 2023
54dc68c
Improve doc string of ContractInfo
webmaster128 Jan 2, 2023
71b1f5e
Deprecate ContractInfoResponse::new
webmaster128 Jan 2, 2023
03f803d
Make clippy happy
webmaster128 Jan 2, 2023
4891e79
Merge pull request #1560 from CosmWasm/contruct-trhough-default
webmaster128 Jan 2, 2023
49ae7cf
Enable cosmwasm_1_2 in coverage testing
webmaster128 Jan 3, 2023
a4c54e4
Add more features to coverage
webmaster128 Jan 3, 2023
94e9899
Merge pull request #1563 from CosmWasm/feature-coverage
webmaster128 Jan 3, 2023
358dc3e
Bump min thiserror version to 1.0.26 for consistency
webmaster128 Jan 3, 2023
45a122f
Merge pull request #1565 from CosmWasm/thiserror-upgrade
webmaster128 Jan 3, 2023
2c10355
Add Never type for to avoid ibc_packet_receive errors
webmaster128 Jan 4, 2023
a570cc4
Improve Never documentation
webmaster128 Nov 24, 2022
cd87530
Make unreachable implementation type-safe
webmaster128 Jan 2, 2023
2b8c553
Improve CHANGELOG
webmaster128 Jan 2, 2023
d6f5dfc
Merge pull request #1513 from CosmWasm/add-Never
webmaster128 Jan 4, 2023
5a6fec1
Check workspace with different features
webmaster128 Jan 3, 2023
e2814e5
Add new `WasmQuery::CodeInfo`
webmaster128 Jan 5, 2023
e92c8e5
Fix WasmQuery::CodeInfo testing code
webmaster128 Jan 3, 2023
910f853
Add query_wasm_code_info to querier
webmaster128 Jan 3, 2023
e41df95
Add code_id to CodeInfoResponse
webmaster128 Jan 5, 2023
afd3c34
Test cosmwasm_1_1,cosmwasm_1_2 in local cosmwasm-std testing
webmaster128 Jan 5, 2023
224b80c
Make checksum HexBinary
webmaster128 Jan 5, 2023
f4d5053
Merge pull request #1561 from CosmWasm/code-query
webmaster128 Jan 5, 2023
d980067
Export Instantiate2AddressError and make it usable
webmaster128 Jan 3, 2023
e86d906
Add virus contract
webmaster128 Jan 3, 2023
af99739
Test contract_virus in CI
webmaster128 Jan 5, 2023
f8c4f77
Merge pull request #1564 from CosmWasm/virus-contract
webmaster128 Jan 5, 2023
f1c2ef6
Let feature cosmwasm_1_2 enable cosmwasm_1_1 in cosmwasm-std
webmaster128 Jan 5, 2023
c3cde9b
Add FileSystemCache::remove
webmaster128 Jan 5, 2023
b72579f
Add Cache::remove_wasm
webmaster128 Jan 5, 2023
b35b55a
Merge pull request #1568 from CosmWasm/enable-cosmwasm_1_1
webmaster128 Jan 5, 2023
c362252
Merge pull request #1569 from CosmWasm/remove-code
webmaster128 Jan 5, 2023
2eb9707
Set version: 1.2.0-beta.1
webmaster128 Jan 9, 2023
89fbcb9
Test and fix GovMsg serialization
webmaster128 Jan 9, 2023
63e71be
Add comment to vote field
webmaster128 Jan 9, 2023
e9ee6f5
Update schemas
webmaster128 Jan 9, 2023
5bad054
Move some test code
webmaster128 Jan 10, 2023
76365af
Add WasmMsg::Instantiate/Instantiate2 serialization tests
webmaster128 Jan 10, 2023
d15b463
Test serialisation of WasmQuery::ContractInfo/CodeInfo, Contract/Code…
webmaster128 Jan 11, 2023
b4261e2
Test SystemError::NoSuchContract/NoSuchCode serialization
webmaster128 Jan 11, 2023
099384a
Merge pull request #1572 from CosmWasm/fix-VoteWeighted
webmaster128 Jan 11, 2023
5208815
Merge pull request #1573 from CosmWasm/serialie-code-info
webmaster128 Jan 11, 2023
6f6d4b1
Test size_of for Uint64/128/256/512
webmaster128 Jan 12, 2023
dcba7cc
Merge pull request #1574 from CosmWasm/test-sizeof
webmaster128 Jan 12, 2023
3cf3c67
Set version: 1.2.0-rc.1
webmaster128 Jan 12, 2023
cb4cc5e
Support fraction multiply
grod220 Jan 3, 2023
1135c8a
Add macro abstraction support
grod220 Jan 3, 2023
33df9fd
Higher bit size tests
grod220 Jan 3, 2023
70fc135
Macro & math updates
grod220 Jan 4, 2023
eddb6b3
extend macro to Uint64/256
grod220 Jan 4, 2023
9a51c7c
tests + trait update
grod220 Jan 6, 2023
df4503c
Ensure no rounds on even divides
grod220 Jan 8, 2023
cdc653d
Improve zero denom check
grod220 Jan 8, 2023
8b63fcd
make floor/ceil tenses consistent
grod220 Jan 8, 2023
e79ab95
Add fraction division support
grod220 Jan 12, 2023
c1b78e9
Ceil math without redundant expansion
grod220 Jan 18, 2023
fac345e
Add rustdocs
grod220 Jan 18, 2023
d8c52e5
add to changlog
grod220 Jan 18, 2023
96130f8
Update bumpalo to 3.12.0
webmaster128 Jan 23, 2023
9f0fb71
Merge pull request #1594 from CosmWasm/upgrade-bumpalo
webmaster128 Jan 23, 2023
25c29e4
Merge pull request #1566 from grod220/fractional-round
webmaster128 Jan 23, 2023
bd374ea
Add docs on using cosmwasm-std
webmaster128 Jan 24, 2023
baa6ad5
Add MIGRATING section for 1.2
webmaster128 Jan 24, 2023
f321bc2
Merge pull request #1595 from CosmWasm/cosmwasm-std-for-libraries
webmaster128 Jan 24, 2023
2dabcf0
Set version: 1.2.0
webmaster128 Jan 24, 2023
4628c7e
Make fields of WeightedVoteOption public
webmaster128 Jan 25, 2023
7b89a92
Add abort and cosmwasm_1_2 to docs
webmaster128 Jan 25, 2023
648afc1
Add rust-analyzer settings
webmaster128 Jan 25, 2023
90779fa
Update schemas to doc changes
webmaster128 Jan 25, 2023
1ddba30
Merge pull request #1598 from CosmWasm/make-WeightedVoteOption-fields…
webmaster128 Jan 25, 2023
28b49f9
Improve comments on high/low-S handling
webmaster128 Jan 26, 2023
07a01eb
Improve some test code
webmaster128 Jan 26, 2023
401b6fb
Debug impl for Decimal256 uses decimal output.
snoyberg Jan 26, 2023
bfb15c6
Include type in Debug output
snoyberg Jan 26, 2023
3ba7f27
Improve decimal{,256}_implements_debug test code
webmaster128 Jan 26, 2023
28e6905
Add CHANGELOG entry
webmaster128 Jan 26, 2023
9ee304c
Merge pull request #1602 from CosmWasm/decimal-debug
webmaster128 Jan 26, 2023
4e688ba
Add to_uint_floor, to_uint_ceil
webmaster128 Jan 26, 2023
2bcc2d1
Add unit tests
webmaster128 Jan 26, 2023
3b7b3a4
Implement to_uint_ceil without modulo operation
webmaster128 Jan 30, 2023
a31e81f
Test to_uint_floor for value < 1
webmaster128 Jan 30, 2023
6ca600b
Test compatibility with old workaround
webmaster128 Jan 30, 2023
9c76900
Fix virus instantiation
webmaster128 Jan 30, 2023
35a2bd5
Merge pull request #1604 from CosmWasm/fix-virus-instantiate
webmaster128 Jan 30, 2023
7e13d25
Merge pull request #1603 from CosmWasm/convert-decimal-to-int
webmaster128 Jan 30, 2023
893786a
Add CHANGELOG entry for to_uint_floor/to_uint_ceil [ci skip]
webmaster128 Jan 30, 2023
9e822c4
Set version: 1.2.1
webmaster128 Jan 30, 2023
32f308a
Add type-safe unwrap example
webmaster128 Jan 30, 2023
30db426
Expose CheckedMultiplyFractionError publicly
grod220 Feb 8, 2023
4eb3279
Fix backtraces feature
toml01 Feb 22, 2023
3bee042
Add update_crate script
webmaster128 Mar 2, 2023
1f10b78
Update schemars to 0.8.12
webmaster128 Mar 2, 2023
3895f20
Re-generate schemas
webmaster128 Mar 2, 2023
aefad5f
Merge pull request #1617 from CosmWasm/upgrade-schemars
webmaster128 Mar 2, 2023
e5a623c
Upgrade clippy job to Rust 1.67.1
webmaster128 Mar 2, 2023
586cf16
Merge pull request #1618 from CosmWasm/upgrade-clippy-to-1.67.1
webmaster128 Mar 2, 2023
d436094
Add CHANGELOG entry for CheckedMultiplyFractionError
webmaster128 Mar 2, 2023
ca9abca
Merge pull request #1608 from grod220/expose-fraction-error
webmaster128 Mar 2, 2023
c19953d
Add mocking capabilities for ibc querying
nik-suri Mar 4, 2023
d3ad1e1
Merge remote-tracking branch 'upstream/main' into fix-backtraces-feature
toml01 Mar 5, 2023
30ea965
Update contracts' cargo.lock
toml01 Mar 5, 2023
6336465
Update packages/crypto/Cargo.toml
webmaster128 Mar 6, 2023
f0890e1
Add CHANGELOG entry for backtraces fix
webmaster128 Mar 6, 2023
e5969a1
Merge pull request #1613 from toml01/fix-backtraces-feature
webmaster128 Mar 6, 2023
c9cb354
Merge pull request #1620 from nik-suri/mock-ibc-querier
hashedone Mar 6, 2023
687d667
Remove unnecessary double references
webmaster128 Mar 7, 2023
e32896d
Add CHANGELOG entry for #1620
webmaster128 Mar 7, 2023
8950461
Merge pull request #1624 from CosmWasm/ibc_querier-cleanup
webmaster128 Mar 7, 2023
28b2e25
Add #[must_use] annotations to Timestamp math functions
webmaster128 Mar 7, 2023
25d48ee
Merge pull request #1625 from CosmWasm/timestamp-must_use
webmaster128 Mar 7, 2023
6e33691
Update packages/crypto/src/secp256k1.rs
webmaster128 Mar 8, 2023
1104982
Update packages/crypto/src/secp256k1.rs
webmaster128 Mar 8, 2023
fca5d20
Update packages/crypto/src/secp256k1.rs
webmaster128 Mar 8, 2023
46c7098
Update packages/crypto/src/secp256k1.rs
webmaster128 Mar 8, 2023
5ecada9
Update packages/crypto/src/secp256k1.rs
webmaster128 Mar 8, 2023
74ddd30
Update packages/crypto/src/secp256k1.rs
webmaster128 Mar 8, 2023
cbf0321
Merge pull request #1601 from CosmWasm/low-high-s-comments
webmaster128 Mar 8, 2023
479178d
Set version: 1.2.2
webmaster128 Mar 8, 2023
3a052ba
Use saturating increments for Stats fields
webmaster128 Mar 13, 2023
28471aa
Discourage the use of u128/i128 as message fields
webmaster128 Mar 14, 2023
0321e5c
Merge pull request #1632 from CosmWasm/discourage-u128
webmaster128 Mar 14, 2023
a4a6fbf
Split payment and cleanup implementations
webmaster128 Jan 4, 2023
8631355
Remove license files at contract level
webmaster128 Jan 4, 2023
4ed470a
Add me to authors
webmaster128 Jan 4, 2023
7c3cf31
Bump to cosmwasm/rust-optimizer:0.12.11
webmaster128 Jan 5, 2023
50079b4
Merge pull request #1567 from CosmWasm/burn-cleanup
webmaster128 Mar 14, 2023
26c0574
Merge pull request #1630 from CosmWasm/use-saturating-increments-for-…
webmaster128 Mar 22, 2023
a3d5c4c
Set version: 1.2.3
webmaster128 Mar 22, 2023
9ccb10c
Bump optimizer to 0.12.13
webmaster128 Apr 4, 2023
2ca2ba4
Rename test contracts to 1_2.wasm and add missing abort import
webmaster128 Apr 4, 2023
0cfeac7
Recompile testdata .wasm files for vm tests and adjust tests
webmaster128 Apr 5, 2023
bd6772e
Merge pull request #1654 from CosmWasm/testing_1.2
webmaster128 Apr 5, 2023
e8b9690
Fix argon2 benchmarking (not in hackatom anymore)
webmaster128 Apr 5, 2023
3a478e9
Upgrade criterion to 0.4
webmaster128 Apr 5, 2023
01ff17c
Cleanup benchmarking branch list in CI
webmaster128 Apr 5, 2023
e5c1959
Merge pull request #1655 from CosmWasm/fix-benchmarking
webmaster128 Apr 5, 2023
6f415ec
Bump clippy to Rust 1.68.2
webmaster128 Apr 6, 2023
db426f9
Merge pull request #1656 from CosmWasm/bump-clippy-to-1.68.2
webmaster128 Apr 6, 2023
874896e
Merge remote-tracking branch 'cw/1.2' into secret-1.2.x
May 3, 2023
e575ecf
Merge remote-tracking branch 'origin/secret' into secret-1.2.x
May 3, 2023
0c092d7
Merge with CW 1.2.3
May 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: provide a list of all built-in capabilities
  • Loading branch information
uint committed Nov 22, 2022
commit 9fd98903ecbe02d892dfd86ede20ec55203fe434
17 changes: 17 additions & 0 deletions docs/CAPABILITIES-BUILT-IN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Built-in capabilities

Since capabilities can be created between contract and environment, we don't
know them all in the VM. This is a list of all built-in capabilities, but chains
might define others.

- `iterator` is for storage backends that allow range queries. Not all types of
databases do that. There are trees that don't allow it and Secret Network does
not support iterators for other technical reasons.
- `stargate` is for messages and queries that came with the Cosmos SDK upgrade
"Stargate". It primarily includes protobuf messages and IBC support.
- `staking` is for chains with the Cosmos SDK staking module. There are Cosmos
chains that don't use this (e.g. Tgrade).
- `cosmwasm_1_1` enables the `BankQuery::Supply` query. Only chains running
CosmWasm `1.1.0` or higher support this query.
- `cosmwasm_1_2` enables the `GovMsg::VoteWeighted` message. Only chains running
CosmWasm `1.2.0` or higher support this query.
11 changes: 1 addition & 10 deletions docs/CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,7 @@ underscores.

## Common capabilities

Here is a list of capabilities created in the past. Since capabilities can be
created between contract and environment, we don't know them all in the VM.

- `iterator` is for storage backends that allow range queries. Not all types of
databases do that. There are trees that don't allow it and Secret Network does
not support iterators for other technical reasons.
- `stargate` is for messages and queries that came with the Cosmos SDK upgrade
"Stargate". It primarily includes protobuf messages and IBC support.
- `staking` is for chains with the Cosmos SDK staking module. There are Cosmos
chains that don't use this (e.g. Tgrade).
Here is a list of all [built-in capabilities](CAPABILITIES-BUILT-IN.md).

## What's a good capability?

Expand Down