Conversation
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
HCastano
left a comment
There was a problem hiding this comment.
Some small things to fix, but looks good!
Codecov Report
@@ Coverage Diff @@
## master #1379 +/- ##
===========================================
- Coverage 70.16% 44.92% -25.25%
===========================================
Files 190 189 -1
Lines 5940 5888 -52
===========================================
- Hits 4168 2645 -1523
- Misses 1772 3243 +1471
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
hey @agryaznov, we tested out the macro and it does not work. |
… 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: Hernando 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: Hernando Castano <HCastano@users.noreply.github.com> Co-authored-by: Hernando Castano <hernando@hcastano.com>
* 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: Hernando 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: Hernando Castano <HCastano@users.noreply.github.com> * Allow `pay_with_call` to take multiple arguments (#1401) * Moved constants from `match` to a separate constants (#1418) * fix tests Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> Co-authored-by: Andrew Jones <ascjones@gmail.com>
Solves #1346