@alephium/web3 0.30.0 → 0.30.1
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.
|
@@ -178,6 +178,7 @@ export declare function toApiVals(fields: Fields, names: string[], types: string
|
|
|
178
178
|
export interface TestContractParams<F extends Fields = Fields, A extends Arguments = Arguments> {
|
|
179
179
|
group?: number;
|
|
180
180
|
address?: string;
|
|
181
|
+
callerAddress?: string;
|
|
181
182
|
blockHash?: string;
|
|
182
183
|
blockTimeStamp?: number;
|
|
183
184
|
txId?: string;
|
|
@@ -632,6 +632,7 @@ class Contract extends Artifact {
|
|
|
632
632
|
blockTimeStamp: params.blockTimeStamp,
|
|
633
633
|
txId: params.txId,
|
|
634
634
|
address: params.address,
|
|
635
|
+
callerAddress: params.callerAddress,
|
|
635
636
|
bytecode: this.bytecodeDebug,
|
|
636
637
|
initialImmFields: immFields,
|
|
637
638
|
initialMutFields: mutFields,
|
package/package.json
CHANGED
package/src/contract/contract.ts
CHANGED
|
@@ -937,6 +937,7 @@ export class Contract extends Artifact {
|
|
|
937
937
|
blockTimeStamp: params.blockTimeStamp,
|
|
938
938
|
txId: params.txId,
|
|
939
939
|
address: params.address,
|
|
940
|
+
callerAddress: params.callerAddress,
|
|
940
941
|
bytecode: this.bytecodeDebug,
|
|
941
942
|
initialImmFields: immFields,
|
|
942
943
|
initialMutFields: mutFields,
|
|
@@ -1341,6 +1342,7 @@ function toApiInputAssets(inputAssets?: InputAsset[]): node.TestInputAsset[] | u
|
|
|
1341
1342
|
export interface TestContractParams<F extends Fields = Fields, A extends Arguments = Arguments> {
|
|
1342
1343
|
group?: number // default 0
|
|
1343
1344
|
address?: string
|
|
1345
|
+
callerAddress?: string
|
|
1344
1346
|
blockHash?: string
|
|
1345
1347
|
blockTimeStamp?: number
|
|
1346
1348
|
txId?: string
|