diff --git a/onchain/rollups/contracts/inputs/IInputBox.sol b/onchain/rollups/contracts/inputs/IInputBox.sol index c6a38469..8643d5b0 100644 --- a/onchain/rollups/contracts/inputs/IInputBox.sol +++ b/onchain/rollups/contracts/inputs/IInputBox.sol @@ -7,15 +7,15 @@ pragma solidity ^0.8.8; interface IInputBox { /// @notice Emitted when an input is added to a DApp's input box. /// @param dapp The address of the DApp - /// @param inputIndex The index of the input in the input box + /// @param index The index of the input in the input box /// @param sender The address that sent the input - /// @param input The input payload + /// @param payload The input payload /// @dev MUST be triggered on a successful call to `addInput`. event InputAdded( address indexed dapp, - uint256 indexed inputIndex, + uint256 indexed index, address sender, - bytes input + bytes payload ); /// @notice Add an input to a DApp's input box. diff --git a/onchain/rollups/test/foundry/inputs/InputBox.t.sol b/onchain/rollups/test/foundry/inputs/InputBox.t.sol index dfdb1744..66a5bc9d 100644 --- a/onchain/rollups/test/foundry/inputs/InputBox.t.sol +++ b/onchain/rollups/test/foundry/inputs/InputBox.t.sol @@ -139,9 +139,9 @@ contract InputBoxTest is Test { event InputAdded( address indexed dapp, - uint256 indexed inputIndex, + uint256 indexed index, address sender, - bytes input + bytes payload ); function setUp() public { diff --git a/onchain/rollups/test/foundry/portals/ERC20Portal.t.sol b/onchain/rollups/test/foundry/portals/ERC20Portal.t.sol index 8fc454e4..2a104db0 100644 --- a/onchain/rollups/test/foundry/portals/ERC20Portal.t.sol +++ b/onchain/rollups/test/foundry/portals/ERC20Portal.t.sol @@ -92,9 +92,9 @@ contract ERC20PortalTest is Test { event InputAdded( address indexed dapp, - uint256 indexed inputIndex, + uint256 indexed index, address sender, - bytes input + bytes payload ); event WatchedTransfer( address from, diff --git a/onchain/rollups/test/foundry/portals/ERC721Portal.t.sol b/onchain/rollups/test/foundry/portals/ERC721Portal.t.sol index 3cd25216..0b4ca620 100644 --- a/onchain/rollups/test/foundry/portals/ERC721Portal.t.sol +++ b/onchain/rollups/test/foundry/portals/ERC721Portal.t.sol @@ -91,9 +91,9 @@ contract ERC721PortalTest is Test { event InputAdded( address indexed dapp, - uint256 indexed inputIndex, + uint256 indexed index, address sender, - bytes input + bytes payload ); event Transfer( address indexed from, diff --git a/onchain/rollups/test/foundry/portals/EtherPortal.t.sol b/onchain/rollups/test/foundry/portals/EtherPortal.t.sol index 90816aba..f313c175 100644 --- a/onchain/rollups/test/foundry/portals/EtherPortal.t.sol +++ b/onchain/rollups/test/foundry/portals/EtherPortal.t.sol @@ -48,9 +48,9 @@ contract EtherPortalTest is Test { event InputAdded( address indexed dapp, - uint256 indexed inputIndex, + uint256 indexed index, address sender, - bytes input + bytes payload ); event WatchedFallback( address sender, diff --git a/onchain/rollups/test/foundry/relays/DAppAddressRelay.t.sol b/onchain/rollups/test/foundry/relays/DAppAddressRelay.t.sol index b2f70209..7428f459 100644 --- a/onchain/rollups/test/foundry/relays/DAppAddressRelay.t.sol +++ b/onchain/rollups/test/foundry/relays/DAppAddressRelay.t.sol @@ -17,9 +17,9 @@ contract DAppAddressRelayTest is Test { event InputAdded( address indexed dapp, - uint256 indexed inputIndex, + uint256 indexed index, address sender, - bytes input + bytes payload ); function setUp() public {