Skip to content

Commit 371350a

Browse files
committed
feat: update updateData parameter type to accept a single array in MockPyth contract and related ABIs
1 parent 139d813 commit 371350a

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

target_chains/ethereum/sdk/solidity/MockPyth.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ contract MockPyth is AbstractPyth {
167167
)
168168
external
169169
payable
170+
override
170171
returns (PythStructs.TwapPriceFeed[] memory twapPriceFeeds)
171172
{
172173
// Validate inputs and fee

target_chains/ethereum/sdk/solidity/abis/AbstractPyth.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,9 @@
569569
{
570570
"inputs": [
571571
{
572-
"internalType": "bytes[][]",
572+
"internalType": "bytes[]",
573573
"name": "updateData",
574-
"type": "bytes[][]"
574+
"type": "bytes[]"
575575
},
576576
{
577577
"internalType": "bytes32[]",

target_chains/ethereum/sdk/solidity/abis/IPyth.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,9 @@
459459
{
460460
"inputs": [
461461
{
462-
"internalType": "bytes[][]",
462+
"internalType": "bytes[]",
463463
"name": "updateData",
464-
"type": "bytes[][]"
464+
"type": "bytes[]"
465465
},
466466
{
467467
"internalType": "bytes32[]",

target_chains/ethereum/sdk/solidity/abis/MockPyth.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,9 @@
664664
{
665665
"inputs": [
666666
{
667-
"internalType": "bytes[][]",
667+
"internalType": "bytes[]",
668668
"name": "updateData",
669-
"type": "bytes[][]"
669+
"type": "bytes[]"
670670
},
671671
{
672672
"internalType": "bytes32[]",

0 commit comments

Comments
 (0)