Skip to content

Commit 8d8fc19

Browse files
committed
chore: this is 3.1.1
1 parent 9872085 commit 8d8fc19

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@witnet/solidity",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "Wit/Oracle Solidity Framework for EVM-compatible chains",
55
"author": "Witnet Foundation <[email protected]>",
66
"license": "MIT",

src/lib/utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,13 @@ export function abiEncodeWitOracleQueryParams(queryParams: WitOracleQueryParams)
303303
export function abiEncodeRadonAsset(asset: any): any {
304304
if (asset instanceof Witnet.Radon.RadonRetrieval) {
305305
return [
306-
asset.url || "", [
306+
asset.url || "",
307+
[
307308
asset.method,
308309
asset.body || "",
309310
asset?.headers ? Object.entries(asset.headers) : [],
310311
abiEncodeRadonAsset(asset.script) || "0x80",
311-
]
312+
],
312313
];
313314
} else if (asset instanceof Witnet.Radon.types.RadonScript) {
314315
return asset.toBytecode();

0 commit comments

Comments
 (0)