Skip to content

Commit

Permalink
Update packages/derive/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Warta <[email protected]>
  • Loading branch information
aumetra and webmaster128 authored Apr 24, 2024
1 parent d4d1108 commit 7c1f5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ fn expand_attributes(func: &mut ItemFn) -> syn::Result<TokenStream> {

#[allow(unused)]
#[doc(hidden)]
#[link_section = "cw_contract_state_version"]
#[link_section = "cw_state_version"]
/// This is an internal constant exported as a custom section denoting the contract state version.
/// The format and even the existence of this value is an implementation detail, DO NOT RELY ON THIS!
static __CW_CONTRACT_STATE_VERSION: &str = #version;
static __CW_STATE_VERSION: &str = #version;
};
}

Expand Down

0 comments on commit 7c1f5fd

Please sign in to comment.