File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ and this project adheres to
35
35
([ #2120 ] )
36
36
- cosmwasm-derive: Add ` state_version ` attribute for ` migrate ` entrypoints
37
37
([ #2124 ] )
38
- - cosmwasm-vm: Read the state version from Wasm modules and return them as part
39
- of ` AnalyzeReport ` ([ #2129 ] )
38
+ - cosmwasm-vm: Read the migrate version from Wasm modules and return them as
39
+ part of ` AnalyzeReport ` ([ #2129 ] , [ # 2166 ] )
40
40
- cosmwasm-vm: Add ` bls12_381_aggregate_g1 ` , ` bls12_381_aggregate_g2 ` ,
41
41
` bls12_381_pairing_equality ` , ` bls12_381_hash_to_g1 ` , and
42
42
` bls12_381_hash_to_g2 ` to enable BLS12-381 curve operations, such as verifying
@@ -60,6 +60,7 @@ and this project adheres to
60
60
[ #2120 ] : https://github.com/CosmWasm/cosmwasm/pull/2120
61
61
[ #2124 ] : https://github.com/CosmWasm/cosmwasm/pull/2124
62
62
[ #2129 ] : https://github.com/CosmWasm/cosmwasm/pull/2129
63
+ [ #2166 ] : https://github.com/CosmWasm/cosmwasm/pull/2166
63
64
64
65
### Changed
65
66
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ fn expand_attributes(func: &mut ItemFn) -> syn::Result<TokenStream> {
153
153
#[ doc( hidden) ]
154
154
#[ cfg( target_arch = "wasm32" ) ]
155
155
#[ link_section = "cw_migrate_version" ]
156
- /// This is an internal constant exported as a custom section denoting the contract state version.
156
+ /// This is an internal constant exported as a custom section denoting the contract migrate version.
157
157
/// The format and even the existence of this value is an implementation detail, DO NOT RELY ON THIS!
158
158
static __CW_MIGRATE_VERSION: & str = #version;
159
159
} ;
@@ -265,7 +265,7 @@ mod test {
265
265
#[ doc( hidden) ]
266
266
#[ cfg( target_arch = "wasm32" ) ]
267
267
#[ link_section = "cw_migrate_version" ]
268
- /// This is an internal constant exported as a custom section denoting the contract state version.
268
+ /// This is an internal constant exported as a custom section denoting the contract migrate version.
269
269
/// The format and even the existence of this value is an implementation detail, DO NOT RELY ON THIS!
270
270
static __CW_MIGRATE_VERSION: & str = "2" ;
271
271
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ pub struct AnalysisReport {
133
133
pub entrypoints : BTreeSet < Entrypoint > ,
134
134
/// The set of capabilities the contract requires.
135
135
pub required_capabilities : BTreeSet < String > ,
136
- /// The contract state version exported set by the contract developer
136
+ /// The contract migrate version exported set by the contract developer
137
137
pub contract_migrate_version : Option < u64 > ,
138
138
}
139
139
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ pub struct ParsedWasm<'a> {
66
66
pub total_func_params : usize ,
67
67
/// Collections of functions that are potentially pending validation
68
68
pub func_validator : FunctionValidator < ' a > ,
69
- /// Contract state version as defined in a custom section
69
+ /// Contract migrate version as defined in a custom section
70
70
pub contract_migrate_version : Option < u64 > ,
71
71
}
72
72
You can’t perform that action at this time.
0 commit comments