@skalenetwork/marionette-interfaces 0.0.0-main.0 → 0.0.0-main.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Encoder.sol +2 -2
  2. package/package.json +1 -1
package/Encoder.sol CHANGED
@@ -35,7 +35,7 @@ library Encoder {
35
35
  function encodeFunctionCall(
36
36
  address receiver,
37
37
  uint256 value,
38
- bytes calldata data
38
+ bytes memory data
39
39
  )
40
40
  internal
41
41
  pure
@@ -44,7 +44,7 @@ library Encoder {
44
44
  return abi.encode(receiver, value, data);
45
45
  }
46
46
 
47
- function decodeFunctionCall(bytes calldata data) private pure returns (FunctionCall memory functionCall) {
47
+ function decodeFunctionCall(bytes calldata data) internal pure returns (FunctionCall memory functionCall) {
48
48
  (functionCall.receiver, functionCall.value, functionCall.data) = abi.decode(data, (address, uint256, bytes));
49
49
  }
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skalenetwork/marionette-interfaces",
3
- "version": "0.0.0-main.0",
3
+ "version": "0.0.0-main.2",
4
4
  "description": "Definitions of interfaces needed to integrate with marionette smart contract",
5
5
  "repository": "git@github.com:skalenetwork/marionette-interfaces.git",
6
6
  "author": "Dmytro Stebaiev <dmytro@skalelabs.com>",