Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/ethereum-storage/src/ethereum-tx-submitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ export class EthereumTransactionSubmitter implements StorageTypes.ITransactionSu
this.enableEip1559 = await isEip1559Supported(this.provider, this.logger);
}

supportsEip1559() {
return this.enableEip1559;
}

/** Submits an IPFS hash, with fees according to `ipfsSize` */
async submit(ipfsHash: string, ipfsSize: number): Promise<ContractTransaction> {
const preparedTransaction = await this.prepareSubmit(ipfsHash, ipfsSize);
Expand Down