genlayer-js 0.14.1 → 0.14.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.
- package/CHANGELOG.md +2 -0
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
- package/src/contracts/actions.ts +1 -0
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -597,7 +597,8 @@ var _sendTransaction = async ({
|
|
|
597
597
|
from: transactionRequest.from,
|
|
598
598
|
to: transactionRequest.to,
|
|
599
599
|
data: encodedData,
|
|
600
|
-
value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0"
|
|
600
|
+
value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0",
|
|
601
|
+
gas: transactionRequest.gas ? `0x${transactionRequest.gas.toString(16)}` : "0x5208"
|
|
601
602
|
};
|
|
602
603
|
return await client.request({
|
|
603
604
|
method: "eth_sendTransaction",
|
package/dist/index.js
CHANGED
|
@@ -597,7 +597,8 @@ var _sendTransaction = async ({
|
|
|
597
597
|
from: transactionRequest.from,
|
|
598
598
|
to: transactionRequest.to,
|
|
599
599
|
data: encodedData,
|
|
600
|
-
value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0"
|
|
600
|
+
value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0",
|
|
601
|
+
gas: transactionRequest.gas ? `0x${transactionRequest.gas.toString(16)}` : "0x5208"
|
|
601
602
|
};
|
|
602
603
|
return await client.request({
|
|
603
604
|
method: "eth_sendTransaction",
|
package/package.json
CHANGED
package/src/contracts/actions.ts
CHANGED
|
@@ -256,6 +256,7 @@ const _sendTransaction = async ({
|
|
|
256
256
|
to: transactionRequest.to,
|
|
257
257
|
data: encodedData,
|
|
258
258
|
value: transactionRequest.value ? `0x${transactionRequest.value.toString(16)}` : "0x0",
|
|
259
|
+
gas: transactionRequest.gas ? `0x${transactionRequest.gas.toString(16)}` : "0x5208",
|
|
259
260
|
};
|
|
260
261
|
|
|
261
262
|
return await client.request({
|