taquito icon indicating copy to clipboard operation
taquito copied to clipboard

[SPIKE] integration test of smart_rollup_execute_outbox_message

Open hui-an-yang opened this issue 1 year ago • 2 comments

Subsequence ticket after user's contribution pr2807 that supports smart_rollup_execute_outbox_message op in contractAPI, we'd like to add integration test possibly using etherlink on ghostnet sr1A5txMPrpjY9d4qCUq1Ke4PGBQ2WNiB7LJ.

hui-an-yang avatar Feb 06 '24 16:02 hui-an-yang

this test will require making recursive call curl -i "${ROLLUP_NODE_ENDPOINT}/global/block/cemented/outbox/${L}/messages" to a rollup node to get the level that message is cemented (40 blocks after smart_rollup_add_messages). Then another rpc call to rollup node curl -i "${ROLLUP_NODE_ENDPOINT}/global/block/head/helpers/\ proofs/outbox/${L}/messages?index=0 to get the proof and commitment hash. In order to form smart_rollup_execute_outbox_message operation request parameter

hui-an-yang avatar Mar 21 '24 20:03 hui-an-yang