ethereum-optimism / supersim

Local Multi-L2 Development Environment
MIT License
140 stars 53 forks source link

feat(admin): added rpc method for getL2ToL2 Message(msgHash) #265

Open s4rv4d opened 1 week ago

s4rv4d commented 1 week ago

Description added getL2ToL2 Message(msgHash), essentially letting devs fetch L2ToL2Message via msgHash

Metadata

s4rv4d commented 5 days ago

adding a screenshot of test results on local

Screenshot 2024-11-17 at 4 40 58 pm
s4rv4d commented 3 days ago

Updated example rpc response

{ "jsonrpc": "2.0", "id": 1, "result": { "Destination": 902, "Source": 901, "Nonce": 0, "Sender": "0x4200000000000000000000000000000000000028", "Target": "0x4200000000000000000000000000000000000028", "Message": "0x7cfd6dbc000000000000000000000000420beef000000000000000000000000000000001000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8" } }