Skip to content

Commit

Permalink
revert previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Aug 3, 2024
1 parent 90ffdb4 commit 112add5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions interfaces/Message.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct PostRequest {
// request nonce
uint64 nonce;
// Module Id of this request origin
address from;
bytes from;
// destination module id
bytes to;
// timestamp by which this request times out.
Expand Down Expand Up @@ -163,7 +163,7 @@ library Message {
}

function encodeRequest(PostRequest memory req) internal pure returns (bytes memory) {
return abi.encodePacked(req.source, req.dest, req.nonce, req.timeoutTimestamp, abi.encodePacked(req.from), req.to, req.body);
return abi.encodePacked(req.source, req.dest, req.nonce, req.timeoutTimestamp, req.from, req.to, req.body);
}

function hash(PostResponse memory res) internal pure returns (bytes32) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polytope-labs/ismp-solidity",
"version": "0.3.4",
"version": "0.3.5",
"description": "Hyperbridge Solidity SDK for the Interoperable state machine protocol",
"author": "Polytope Labs <[email protected]>",
"license": "Apache-2.0",
Expand Down

0 comments on commit 112add5

Please sign in to comment.