diff --git a/migrations/witnet/retrievals/web3/index.js b/migrations/witnet/retrievals/web3/index.js index d34c9ed..ff38510 100644 --- a/migrations/witnet/retrievals/web3/index.js +++ b/migrations/witnet/retrievals/web3/index.js @@ -28,11 +28,11 @@ module.exports = { "cross-chain-get-transaction-by-hash": Witnet.Retrievals.CrossChainCall({ url: "\\0\\", rpc: Witnet.Retrievals.RPC.EthGetTransactionByHash("\\1\\"), - script: Witnet.Script().parseJSONMap(), + script: Witnet.Script().parseJSONMap().getMap("result"), }), "cross-chain-get-transaction-receipt": Witnet.Retrievals.CrossChainCall({ url: "\\0\\", rpc: Witnet.Retrievals.RPC.EthGetTransactionReceipt("\\1\\"), - script: Witnet.Script().parseJSONMap(), + script: Witnet.Script().parseJSONMap().getMap("result"), }), } \ No newline at end of file diff --git a/package.json b/package.json index 808b6d2..1484c4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "witnet-solidity", - "version": "1.1.0", + "version": "1.1.1", "description": "Witnet CLI import module for Solidity projects", "author": "Guillermo Diaz ", "license": "MIT", @@ -42,7 +42,7 @@ ], "dependencies": { "web3-jsonrpc-gateway": "^1.7.26", - "witnet-solidity-bridge": "witnet/witnet-solidity-bridge#5e4e1a701999dd50530cdbd8926e6468b731bdb8", + "witnet-solidity-bridge": "https://github.com/guidiaz/witnet-solidity-bridge#ed0899d6f7e04e5c7ccc9cb585865a8187db6857", "witnet-utils": "^1.1.1" }, "devDependencies": {