Closed guidanoli closed 6 months ago
Hey Gui. This issue has overlap with the issue https://github.com/cartesi/rollups-contracts/issues/203 and has already been addressed in PR https://github.com/cartesi/rollups-contracts/pull/89, we can either close this issue or link the PR to this too :)
This issue has overlap with the issue https://github.com/cartesi/rollups-contracts/issues/203
What do you mean? This is issue #203. :-)
we can either close this issue or link the PR to this too :)
Let's link the PR to this issue, then.
This issue has overlap with the issue #203
What do you mean? This is issue #203. :-)
Sorry for the typo. I meant https://github.com/cartesi/rollups-contracts/issues/84 😂
Sorry for the typo. I meant https://github.com/cartesi/rollups-contracts/issues/84 😂
No problem. What is the overlap, though?
The "blockchain agnostic input" issue involves correctly naming input
and payload
, which covers this issue.
📚 Context
On #201, we've made some changes to address #2. Most importantly...
input
parameter aspayload
MAX_INPUT_SIZE
constant asMAX_INPUT_PAYLOAD_SIZE
PayloadTooLarge
custom errorWith #84, however, the Server Manager will not write just the payload to the
rx
buffer, but the whole input (payload and metadata) encoded as a Solidity function call.✔️ Solution
We need to make the following adjustments to the
IInputBox
interface...MAX_INPUT_PAYLOAD_SIZE
constant asMAX_INPUT_SIZE
PayloadTooLarge
custom error asInputTooLarge
(and its arguments as well)