Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,6 @@ abstract contract Pyth is
}

function version() public pure returns (string memory) {
return "1.3.0-alpha";
return "1.3.0";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion target_chains/ethereum/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pythnetwork/pyth-evm-contract",
"version": "1.3.0-alpha",
"version": "1.3.0",
"description": "",
"private": "true",
"devDependencies": {
Expand Down