Skip to content

ref: Add/Sub Assignment Operations + e2e-tests.sh #1556

ref: Add/Sub Assignment Operations + e2e-tests.sh

ref: Add/Sub Assignment Operations + e2e-tests.sh #1556

Triggered via pull request December 26, 2024 10:03
Status Success
Total duration 1m 26s
Artifacts

check-wasm.yml

on: pull_request
Check WASM binary
1m 10s
Check WASM binary
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
[clippy] contracts/src/token/erc20/mod.rs#L498: contracts/src/token/erc20/mod.rs#L498
warning: used underscore-prefixed binding --> contracts/src/token/erc20/mod.rs:498:13 | 498 | self._total_supply.sub_assign_unchecked(value); | ^^^^^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc20/mod.rs:133:5 | 133 | pub _total_supply: StorageU256, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc20/mod.rs#L503: contracts/src/token/erc20/mod.rs#L503
warning: used underscore-prefixed binding --> contracts/src/token/erc20/mod.rs:503:13 | 503 | self._balances.setter(to).add_assign_unchecked(value); | ^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc20/mod.rs:129:5 | 129 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L455: contracts/src/token/erc721/extensions/consecutive.rs#L455
warning: used underscore-prefixed binding --> contracts/src/token/erc721/extensions/consecutive.rs:455:13 | 455 | self.erc721._balances.setter(from).sub_assign_unchecked(1); | ^^^^^^^^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L459: contracts/src/token/erc721/extensions/consecutive.rs#L459
warning: used underscore-prefixed binding --> contracts/src/token/erc721/extensions/consecutive.rs:459:13 | 459 | self.erc721._balances.setter(to).add_assign_unchecked(1); | ^^^^^^^^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/mod.rs#L691: contracts/src/token/erc721/mod.rs#L691
warning: used underscore-prefixed binding --> contracts/src/token/erc721/mod.rs:691:9 | 691 | self._balances.setter(account).add_assign_unchecked(value); | ^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/mod.rs#L741: contracts/src/token/erc721/mod.rs#L741
warning: used underscore-prefixed binding --> contracts/src/token/erc721/mod.rs:741:13 | 741 | self._balances.setter(from).sub_assign_unchecked(1); | ^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/mod.rs#L745: contracts/src/token/erc721/mod.rs#L745
warning: used underscore-prefixed binding --> contracts/src/token/erc721/mod.rs:745:13 | 745 | self._balances.setter(to).add_assign_unchecked(1); | ^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc20/mod.rs#L498: contracts/src/token/erc20/mod.rs#L498
warning: used underscore-prefixed binding --> contracts/src/token/erc20/mod.rs:498:13 | 498 | self._total_supply.sub_assign_unchecked(value); | ^^^^^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc20/mod.rs:133:5 | 133 | pub _total_supply: StorageU256, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc20/mod.rs#L503: contracts/src/token/erc20/mod.rs#L503
warning: used underscore-prefixed binding --> contracts/src/token/erc20/mod.rs:503:13 | 503 | self._balances.setter(to).add_assign_unchecked(value); | ^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc20/mod.rs:129:5 | 129 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L455: contracts/src/token/erc721/extensions/consecutive.rs#L455
warning: used underscore-prefixed binding --> contracts/src/token/erc721/extensions/consecutive.rs:455:13 | 455 | self.erc721._balances.setter(from).sub_assign_unchecked(1); | ^^^^^^^^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L459: contracts/src/token/erc721/extensions/consecutive.rs#L459
warning: used underscore-prefixed binding --> contracts/src/token/erc721/extensions/consecutive.rs:459:13 | 459 | self.erc721._balances.setter(to).add_assign_unchecked(1); | ^^^^^^^^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/mod.rs#L691: contracts/src/token/erc721/mod.rs#L691
warning: used underscore-prefixed binding --> contracts/src/token/erc721/mod.rs:691:9 | 691 | self._balances.setter(account).add_assign_unchecked(value); | ^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/mod.rs#L741: contracts/src/token/erc721/mod.rs#L741
warning: used underscore-prefixed binding --> contracts/src/token/erc721/mod.rs:741:13 | 741 | self._balances.setter(from).sub_assign_unchecked(1); | ^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
[clippy] contracts/src/token/erc721/mod.rs#L745: contracts/src/token/erc721/mod.rs#L745
warning: used underscore-prefixed binding --> contracts/src/token/erc721/mod.rs:745:13 | 745 | self._balances.setter(to).add_assign_unchecked(1); | ^^^^^^^^^^^^^^ | note: binding is defined here --> contracts/src/token/erc721/mod.rs:202:5 | 202 | pub _balances: StorageMap<Address, StorageU256>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
Check WASM binary
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636