Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FrontierEvm issue: atob is not defined #1260

Unanswered
jiqiang90 asked this question in SDK issues
Discussion options

With recently use of FrontierEvm, user might encounter this error:

<ds-sandbox> ERROR not supported ds @substrate/FrontierEvm 
ReferenceError: atob is not defined

This is due to our build command using webpack to build project, and ethersproject are default using esm lib, one of the decode function is using atob.

In order to resolve this issue, you can add script in your project, this will manually change the webpack installation path for ethers package.

https://github.com/subquery/subquery-network-subql-project/pull/31/files

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /