Unverified Commit d42bfbfd authored by Sasha Gryaznov's avatar Sasha Gryaznov Committed by GitHub
Browse files

Add `ink_env::pay_with_call!` helper macro for off-chain emulation of sending...


Add `ink_env::pay_with_call!` helper macro for off-chain emulation of sending payments with contract msg calls (#1379)

* first ver.: transfer_in api function implememted but we can't have it in on-chain env

* transfer_in moved to test_api

* doc + example updated

* Update examples/contract-transfer/lib.rs
Co-authored-by: default avatarHernando Castano <HCastano@users.noreply.github.com>

* use stmt moved to macro

* docs and nitty gritties

* moved the macro to the test mod

* spell fix

* next review round suggestions applied

* Use four spaces for macro indentation
Co-authored-by: default avatarHernando Castano <HCastano@users.noreply.github.com>
Co-authored-by: default avatarHernando Castano <hernando@hcastano.com>
parent fb871a04
Pipeline #214657 failed with stages
in 10 minutes and 52 seconds