[eth] Finalize accumulator contract (#960)
This commit is contained in:
parent
9bdc493ce6
commit
dcec1e9328
|
@ -57990,7 +57990,7 @@
|
|||
},
|
||||
"target_chains/ethereum/contracts": {
|
||||
"name": "@pythnetwork/pyth-evm-contract",
|
||||
"version": "1.3.0-alpha",
|
||||
"version": "1.3.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@certusone/wormhole-sdk": "^0.9.9",
|
||||
|
|
|
@ -679,6 +679,6 @@ abstract contract Pyth is
|
|||
}
|
||||
|
||||
function version() public pure returns (string memory) {
|
||||
return "1.3.0-alpha";
|
||||
return "1.3.0";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ contract ReceiverMessages is ReceiverGetters {
|
|||
// 66 is the length of each signature
|
||||
// 1 (guardianIndex) + 32 (r) + 32 (s) + 1 (v)
|
||||
uint hashIndex = index + (signersLen * 66);
|
||||
if (hashIndex > encodedVM.length) {
|
||||
if (hashIndex >= encodedVM.length) {
|
||||
return (vm, false, "invalid signature length");
|
||||
}
|
||||
// Hash the body
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@pythnetwork/pyth-evm-contract",
|
||||
"version": "1.3.0-alpha",
|
||||
"version": "1.3.0",
|
||||
"description": "",
|
||||
"private": "true",
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Reference in New Issue