Skip to content

Commit

Permalink
Feature/HOLO-604: implementing critical issue fixes (#84)
Browse files Browse the repository at this point in the history
* fixing critical issues

* implemented suggestions
  • Loading branch information
ACC01ADE authored Nov 14, 2022
1 parent 4e74dd6 commit 1d0bfe4
Show file tree
Hide file tree
Showing 20 changed files with 725 additions and 430 deletions.
26 changes: 26 additions & 0 deletions abi/experimental/HolographOperator.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMinGasPrice",
"outputs": [
{
"internalType": "address",
"name": "minGasPrice",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -663,6 +676,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "minGasPrice",
"type": "address"
}
],
"name": "setMinGasPrice",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
26 changes: 26 additions & 0 deletions abi/experimental/HolographOperatorInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMinGasPrice",
"outputs": [
{
"internalType": "address",
"name": "minGasPrice",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -578,6 +591,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "minGasPrice",
"type": "address"
}
],
"name": "setMinGasPrice",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
227 changes: 137 additions & 90 deletions abi/experimental/LayerZeroModule.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,57 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "chainId",
"type": "uint32"
}
],
"name": "getGasParameters",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "msgBaseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "msgGasPerByte",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "jobBaseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "jobGasPerByte",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minGasPrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxGasLimit",
"type": "uint256"
}
],
"internalType": "struct GasParameters",
"name": "gasParameters",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -112,32 +163,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getJobBaseGas",
"outputs": [
{
"internalType": "uint256",
"name": "jobBaseGas",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getJobGasPerByte",
"outputs": [
{
"internalType": "uint256",
"name": "jobGasPerByte",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLZEndpoint",
Expand Down Expand Up @@ -195,32 +220,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMsgBaseGas",
"outputs": [
{
"internalType": "uint256",
"name": "msgBaseGas",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMsgGasPerByte",
"outputs": [
{
"internalType": "uint256",
"name": "msgGasPerByte",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getOperator",
Expand Down Expand Up @@ -348,38 +347,112 @@
{
"inputs": [
{
"internalType": "address",
"name": "interfaces",
"type": "address"
"internalType": "uint32[]",
"name": "chainIds",
"type": "uint32[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "msgBaseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "msgGasPerByte",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "jobBaseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "jobGasPerByte",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minGasPrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxGasLimit",
"type": "uint256"
}
],
"internalType": "struct GasParameters[]",
"name": "gasParameters",
"type": "tuple[]"
}
],
"name": "setInterfaces",
"name": "setGasParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobBaseGas",
"type": "uint256"
"internalType": "uint32",
"name": "chainId",
"type": "uint32"
},
{
"components": [
{
"internalType": "uint256",
"name": "msgBaseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "msgGasPerByte",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "jobBaseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "jobGasPerByte",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minGasPrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxGasLimit",
"type": "uint256"
}
],
"internalType": "struct GasParameters",
"name": "gasParameters",
"type": "tuple"
}
],
"name": "setJobBaseGas",
"name": "setGasParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobGasPerByte",
"type": "uint256"
"internalType": "address",
"name": "interfaces",
"type": "address"
}
],
"name": "setJobGasPerByte",
"name": "setInterfaces",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
Expand All @@ -397,32 +470,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "msgBaseGas",
"type": "uint256"
}
],
"name": "setMsgBaseGas",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "msgGasPerByte",
"type": "uint256"
}
],
"name": "setMsgGasPerByte",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
13 changes: 13 additions & 0 deletions abi/experimental/MockHolographChild.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "emptyFunction",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "getAdmin",
Expand Down
Loading

0 comments on commit 1d0bfe4

Please sign in to comment.