-
Notifications
You must be signed in to change notification settings - Fork 101
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
Cannot deploy the new OpenZeppelin account contract #76
Comments
Did some testing. I started out trying to deploy the artifact generated by the Then I tried directly compiling the account contract with After some more testing, it turns out piping the artifact through I tried using I'm still in the process of trying to figure out what exactly has |
OK it looks like the issue is |
Note that even after removing the use of So this issue is really caused by two things:
|
Turns out |
OK a whole new set of issues after enabling |
Hmmm I skimmed through the code of Basically I'm trying to make sure we're outputting the exact same string as the one we read from the artifact file, and the original file presents the number as a decimal representation without quotes. Since we can't use |
I guess the best we can do here is to enable IMO it's almost always a bad idea to use very large numbers in JSON without turning them into strings... Lots of bad things can happen... |
Created a PR for using That said, we're still not outputting the exact same JSON representation as the input artifact due to some other reasons. We should probably track this with a follow-up issue. |
Just did a quick test. With the fix in place we're outputting the exact same JSON string as the input file up to:
The last item can be fixed by changing I think we should be good. Contract deployment should work perfectly after the fix. |
Well, this turned out to be an unfortunate situation. Great job on sorting it out. |
Tried using
starknet-rs
to deploy the latest account contract from OpenZeppelin.The transaction is not working:
The text was updated successfully, but these errors were encountered: