diff --git a/src/devnet-utils.ts b/src/devnet-utils.ts index 97cd5674..3368eb97 100644 --- a/src/devnet-utils.ts +++ b/src/devnet-utils.ts @@ -165,7 +165,7 @@ Make sure you really want to interact with Devnet and that it is running and ava public async consumeMessageFromL2( l2ContractAddress: string, l1ContractAddress: string, - payload: number[] + payload: Numeric[] ) { const body = { l2_contract_address: l2ContractAddress, diff --git a/src/types/devnet.ts b/src/types/devnet.ts index b1ba5cd6..d326c1f2 100644 --- a/src/types/devnet.ts +++ b/src/types/devnet.ts @@ -61,13 +61,13 @@ export interface Devnet { * Sends a mock message from L2 to L1 * @param {string} l2ContractAddress - Address of the L2 contract. * @param {string} l1ContractAddress - Address of the L1 contract. - * @param {Array} payload - Payload to send to the L1 network. + * @param {Array} payload - Payload to send to the L1 network. * @returns Message hash */ consumeMessageFromL2: ( l2ContractAddress: string, l1ContractAddress: string, - payload: Array + payload: Array ) => Promise; /**