taquito
taquito copied to clipboard
[SPIKE] integration test of smart_rollup_execute_outbox_message
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.
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