Skip to content
Commit e9d41feb authored by satellitex's avatar satellitex Committed by Sergey Pepyakin
Browse files

Add ExtCurrentBlockNumber in SRML::Contract (#3047)



* add block number

* add ext_current_block

* add ext_current_block test

* Update srml/contracts/src/wasm/mod.rs

Co-Authored-By: default avatarSergei Pepyakin <[email protected]>

* Update srml/contracts/src/wasm/mod.rs

Co-Authored-By: default avatarSergei Pepyakin <[email protected]>

* change valid comment

* use BlockNumberOf<T>

* Update srml/contracts/src/exec.rs

Co-Authored-By: default avatarAndré Silva <[email protected]>

* return types copy, not reference

* version up spec_version and impl_version

* change method name current_block -> block_number

* Update srml/contracts/src/exec.rs

Co-Authored-By: default avatarSergei Pepyakin <[email protected]>
parent 0366f7b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment