-
Notifications
You must be signed in to change notification settings - Fork 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
[REFACTOR] Circuit compiler actions #5238
base: master
Are you sure you want to change the base?
[REFACTOR] Circuit compiler actions #5238
Conversation
azarpoor
commented
Sep 30, 2024
- improve coding structure of circuit compiler actions
- make it more readable
- remove some additional codes
- improve error handling
👷 Deploy request for remixproject pending review.Visit the deploys page to approve it
|
} else { | ||
console.log('Existing circuit compilation in progress') |
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.
9 - !==
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.
hey thank you i correct this check
e0c0437
to
47cfe4d
Compare
47cfe4d
to
54fa591
Compare
hello hope your doing well , i have primary account which is this account with name AmirH-A i change the auther to this account , and if its needed to change commiter to this also i don't know i wanna mention this to you , thank you by the way |
@AmirH-A Can you rebase and fix the merge conflict? |
hey , yes of course |
} | ||
|
||
async function readFileAsUint8Array(plugin: CircomPluginClient, path: string): Promise<Uint8Array> { | ||
const data = await plugin.call('fileManager', 'readFile', path) |
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.
Missing parameter to fileManager plugin call 'opt?'
parameter. "{ encoding: null }"
. The type definition for fileManager
is not updated for this additional option. You can use // @ts-ignore to ignore the error.
|
||
async function readFileAsUint8Array(plugin: CircomPluginClient, path: string): Promise<Uint8Array> { | ||
const data = await plugin.call('fileManager', 'readFile', path) | ||
return new Uint8Array(data.split(',').map(byte => parseInt(byte, 10))) |
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.
Also, "data.split(',').map(byte => parseInt(byte, 10)"
is not needed if you are reading bytes from the fileManager
thank you for review |
@azarpoor can you fix linting? |
hey , of course 👍 |
@Aniket-Engg |
circom related e2e are failing @azarpoor @ioedeveloper |
hey, ill check this issue 👍 |
hello hope you great how i can see the Tests ? for fixing this issue ? |