Skip to content

Commit dcec1e9

Browse files
authored
[eth] Finalize accumulator contract (#960)
1 parent 9bdc493 commit dcec1e9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target_chains/ethereum/contracts/contracts/pyth/Pyth.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,6 @@ abstract contract Pyth is
679679
}
680680

681681
function version() public pure returns (string memory) {
682-
return "1.3.0-alpha";
682+
return "1.3.0";
683683
}
684684
}

target_chains/ethereum/contracts/contracts/wormhole-receiver/ReceiverMessages.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ contract ReceiverMessages is ReceiverGetters {
7474
// 66 is the length of each signature
7575
// 1 (guardianIndex) + 32 (r) + 32 (s) + 1 (v)
7676
uint hashIndex = index + (signersLen * 66);
77-
if (hashIndex > encodedVM.length) {
77+
if (hashIndex >= encodedVM.length) {
7878
return (vm, false, "invalid signature length");
7979
}
8080
// Hash the body

target_chains/ethereum/contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/pyth-evm-contract",
3-
"version": "1.3.0-alpha",
3+
"version": "1.3.0",
44
"description": "",
55
"private": "true",
66
"devDependencies": {

0 commit comments

Comments
 (0)