File tree Expand file tree Collapse file tree
packages/extension/src/providers/ethereum Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,6 +165,11 @@ class Transaction {
165165 formattedFeeHistory ,
166166 options . gasPriceType ,
167167 ) ;
168+ if ( this . tx . accessList ) {
169+ this . tx . accessList . forEach ( al => {
170+ if ( ! al . storageKeys ) al . storageKeys = [ ] ;
171+ } ) ;
172+ }
168173 const gasLimit =
169174 this . tx . gasLimit ||
170175 ( numberToHex ( await this . estimateGas ( ) ) as `0x${string } `) ;
@@ -193,6 +198,7 @@ class Transaction {
193198 chainId : BigInt ( this . tx . chainId ) ,
194199 defaultHardfork : Hardfork . London ,
195200 } ) ;
201+ console . log ( feeMarketTx ) ;
196202 let finalizedTransaction = FeeMarketEIP1559Transaction . fromTxData (
197203 feeMarketTx as FinalizedFeeMarketEthereumTransaction ,
198204 {
Original file line number Diff line number Diff line change @@ -380,6 +380,7 @@ onBeforeMount(async () => {
380380 selectedFee .value = GasPriceTypes .REGULAR ;
381381 })
382382 .catch (e => {
383+ console .log (e );
383384 errorMsg .value = e .message ;
384385 })
385386 .finally (() => {
You can’t perform that action at this time.
0 commit comments