Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@bidzyyys bidzyyys released this 11 Feb 16:57
· 1 commit to main since this release
862770f

Summary

Added

  • Mocks for the msg::sender(). #14
  • Mocks for the msg::value() and contract::balance(). #31
  • Mocks for the external contract calls. Two and more contracts can be injected into a single test. #14
  • Option to inject Account or Address in the test. #14

Changed(Breaking)

  • Contract<..> wrapper is mandatory for the contract's argument. #14
  • To call contract's function it is mandatory to explicitly indicate the sender, through Contract::<..>::sender(..) function. #14
  • Contract<T>'s T type should implement TopLevelStorage. #14

Full Changes List

Full Changelog: v0.3.0...v0.4.0