-
Notifications
You must be signed in to change notification settings - Fork 109
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
chore::> Change input type of SignInvokeTransaction
, SignDeployAccountTransaction
, and SignDeclareTransaction
#591
base: main
Are you sure you want to change the base?
Conversation
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.
Nice @PsychoPunkSage.
I left some observations
Also, the code is failing in some CI test |
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 @PsychoPunkSage, there are a few things that need fixing
|
||
switch txn := tx.(type) { | ||
case rpc.DeclareTxnV0: | ||
// Due to inconsistencies in version 0 hash calculation we don't calculate the hash |
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.
Why did you do that? The description says about the V0 and you removed the V0 and applied the comment to the V1, you also removed the V1 hash calculation. Let's put them back
As discussed internally, we'll need first to create a function to calculate the class hash of legacy contract classes. It'll be done soon |
For issue #590
This PR will Solve #590 pointer 2