-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fetch and compile before debugging #2755
Conversation
54c0ba9
to
dfd3840
Compare
465781c
to
e5d4c23
Compare
774de91
to
5e152a0
Compare
ef3dfd9
to
078977d
Compare
3fff6ae
to
4667990
Compare
For testing the code,
This will unfortunately require this PR from the remix repo ethereum/remix#1463 |
d9a6777
to
fe79372
Compare
src/app/tabs/debugger-tab.js
Outdated
this.debuggerUI = new DebuggerUI(this.el.querySelector('#debugger'), this.blockchain) | ||
|
||
this.on('fetchAndCompile', 'compiling', (settings) => { | ||
toaster(yo`<div><b>Recompiling and debugging with params</b><pre>${JSON.stringify(settings, null, '\t')}</pre></div>`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please add class="text-left" to this pre to align text to the left
name === 'main' ? 'mainnet' : name // source-verifier api expect "mainnet" and not "main" | ||
let data | ||
try { | ||
data = await this.call('source-verification', 'fetch', contractAddress, name.toLowerCase()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here is the format {id:network.id, name}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LianaHus you don't need to do toLowerCase it will be handled on the API level.
needs ethereum/remix#1464
fix #2742