diff --git a/packages/web3-wrapper/src/marshaller.ts b/packages/web3-wrapper/src/marshaller.ts index 7af61752d3..e9fd35a113 100644 --- a/packages/web3-wrapper/src/marshaller.ts +++ b/packages/web3-wrapper/src/marshaller.ts @@ -74,6 +74,9 @@ export const marshaller = { return tx; }, marshalTxData(txData: Partial): Partial { + if (_.isUndefined(txData.from)) { + throw new Error(`txData must include valid 'from' value.`); + } const callTxDataBase = { ...txData, };