Finschia / cosmwasm

Fast and reusable WebAssembly smart contract runtime(and library) for finschia-sdk.
Apache License 2.0
27 stars 14 forks source link

feat: enable dynamic callee returns tuple typed value #195

Closed loloicci closed 2 years ago

loloicci commented 2 years ago

Description

closes #156

Types of changes

Checklist

loloicci commented 2 years ago

Integration Test Result

"logs":[{"msg_index":0,"log":"","events":[{"type":"execute_contract","attributes":[{"key":"contract_address","value":"link10pyejy66429refv3g35g2t7am0was7yaducgya"}]},{"type":"message","attributes":[{"key":"action","value":"execute"},{"key":"module","value":"wasm"},{"key":"sender","value":"link1twsfmuj28ndph54k4nw8crwu8h9c8mh3rtx705"}]},{"type":"wasm","attributes":[{"key":"contract_address","value":"link10pyejy66429refv3g35g2t7am0was7yaducgya"},{"key":"returned_pong","value":"42"},{"key":"returned_pong_with_struct","value":"hello world 101"},{"key":"returned_pong_with_tuple","value":"(hello world, 42)"},{"key":"returned_pong_with_tuple_takes_2_args","value":"(hello world, 42)"},{"key":"returned_contract_address","value":"link18vd8fpwxzck93qlwghaj6arh4p7c5n89fvcmzu"}]}]}]