Skip to content

Commit 4f21d68

Browse files
[Engine] Add from address to serializable transaction
1 parent 881c7a9 commit 4f21d68

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/clever-horses-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Respect from address when simulating with Engine.serverWallet

packages/thirdweb/src/engine/server-wallet.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ export function serverWallet(options: ServerWalletOptions): ServerWallet {
332332
if (args.simulate) {
333333
serializedTransaction = await toSerializableTransaction({
334334
transaction: args.transaction,
335+
from: address,
335336
});
336337
} else {
337338
const [to, data, value] = await Promise.all([

0 commit comments

Comments
 (0)