Skip to content

Impossible to use transaction-preview package #2196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
0xOzy42 opened this issue May 17, 2024 · 1 comment
Closed
1 task done

Impossible to use transaction-preview package #2196

0xOzy42 opened this issue May 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@0xOzy42
Copy link

0xOzy42 commented May 17, 2024

Current Behavior

The transaction-preview package doesn't seem to work when imported into the dapp. The error displayed indicates that the utils import of ethers is not working.

Expected Behavior

No response

Steps To Reproduce

  1. npm i @web3-onboard/transaction-preview
  2. import the transactionPreviewModule into the config file

What package is effected by this issue?

@web3-onboard/transaction-preview

Is this a build or a runtime issue?

N/A

Package Version

@web3-onboard/transaction-preview 2.0.9

Node Version

20.10.0

What browsers are you seeing the problem on?

No response

Relevant log output

./node_modules/@web3-onboard/transaction-preview/dist/index.js
Attempted import error: 'ethers'.'utils' is not exported from 'ethers' (imported as 'ethers').

Anything else?

No response

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
@0xOzy42 0xOzy42 added the bug Something isn't working label May 17, 2024
@Adamj1232
Copy link
Contributor

@0xOzy42 Transaction Preview has been fully deprecated and sunset as we no longer support simulating transaction on Ethereum. Thanks for using Web3-Onboard!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants