Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mumbai] Add support in Contract API for Smart_rollup_add_messages #2309

Closed
dsawali opened this issue Jan 19, 2023 · 1 comment
Closed

[Mumbai] Add support in Contract API for Smart_rollup_add_messages #2309

dsawali opened this issue Jan 19, 2023 · 1 comment
Assignees
Projects
Milestone

Comments

@dsawali
Copy link
Collaborator

dsawali commented Jan 19, 2023

Add support for the new operation smart_rollup_add_messages in these following providers:

  • RpcContractProvider
  • EstimateProvider
  • PrepareProvider

Additional requirements:

  • Update types/interfaces as necessary
  • Add unit and integration tests
  • Update documentation

example operation result:
https://mumbainet.ecadinfra.com/chains/main/blocks/BLytaxnQyL7B4XASV6PCCc55oBNvWfZAcALgGU5cHv6dcCuk8rK

opHash: op3GFxBQArsgC3eHjEiw4Qp31jHrprKfftcgwibKAwnANpzWncG

[
  {
    "protocol": "PtMumbaiiFFEGbew1rRjzSPyzRbA51Tm3RVZL5suHPxSZYDhCEc",
    "chain_id": "NetXQw6nWSnrJ5t",
    "hash": "op3GFxBQArsgC3eHjEiw4Qp31jHrprKfftcgwibKAwnANpzWncG",
    "branch": "BL7USLDrUeuMzDUX6PdxuCbhngMYCcnmy9WFuotiVRmdBftZeDv",
    "contents": [
      {
        "kind": "smart_rollup_add_messages",
        "source": "tz2Q3yRaczTqZVf3ZQvwiiTqKjhJFyDzeRSz",
        "fee": "398",
        "counter": "12191",
        "gas_limit": "1103",
        "storage_limit": "0",
        "message": [
          "0000000031010000000b48656c6c6f20776f726c6401cc9e352a850d7475bf9b6cf103aa17ca404bc9dd000000000764656661756c74"
        ],
        "metadata": {
          "balance_updates": [
            {
              "kind": "contract",
              "contract": "tz2Q3yRaczTqZVf3ZQvwiiTqKjhJFyDzeRSz",
              "change": "-398",
              "origin": "block"
            },
            {
              "kind": "accumulator",
              "category": "block fees",
              "change": "398",
              "origin": "block"
            }
          ],
          "operation_result": {
            "status": "applied",
            "consumed_milligas": "1002777"
          }
        }
      }
    ],
    "signature": "sigSUjvKxjAZ4dBWbo4idKKwFDVfLtYscMMqHoQY8KgyghtyaswECPaBhjK921vj2uEsdKD7WJTeVVT1ZDcvwp8rkRuEW9kv"
  }
]
@dsawali dsawali added this to To do in dev via automation Jan 19, 2023
@dsawali dsawali added this to the v16 milestone Jan 19, 2023
@dsawali
Copy link
Collaborator Author

dsawali commented Jan 23, 2023

Hey team! Please add your planning poker estimate with Zenhub @hui-an-yang @zainen

@dsawali dsawali moved this from To do to In progress in dev Feb 16, 2023
@dsawali dsawali self-assigned this Feb 16, 2023
@dsawali dsawali moved this from In progress to Review in progress in dev Feb 27, 2023
@dsawali dsawali moved this from Review in progress to Done in dev Mar 1, 2023
@Innkst Innkst closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
dev
  
Done
Development

No branches or pull requests

2 participants