Skip to content

Commit

Permalink
Merge branch 'i18n/zh-cn_20231205'
Browse files Browse the repository at this point in the history
# Conflicts:
#	po/zh-cn.po
  • Loading branch information
cryptonerdcn committed Dec 5, 2023
2 parents f6723be + 74be772 commit a1bcffe
Show file tree
Hide file tree
Showing 5 changed files with 387 additions and 370 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
scarb 2.3.0
scarb 2.3.1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mod ExampleContract {
impl PrivateFunctions of PrivateFunctionsTrait {
// The `_read_value` function is outside the implementation that is marked as `#[abi(embed_v0)]`, so it's an _internal_ function
// and can only be called from within the contract.
// It can modify the contract's state as it is passed as a reference.
// However, it can't modify the contract's state is passed as a snapshot: it is only a "view" function.
fn _read_value(self: @ContractState) -> u32 {
self.value.read()
}
Expand Down
Loading

0 comments on commit a1bcffe

Please sign in to comment.