-
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
Interop syscall for current tx signers #2827
Conversation
@roman-khimov please take a look to this version |
I prefer to add a new syscall. |
|
@neo-project/core what do you think about this change? now is not possible to check the signers of the current transaction, and this could be important for certain cases |
I am with @erikzhang on this. Maybe we should give it another syscall, cause |
Maybe one advantage of a new syscall is also to avoid problems during resync. @shargon , is this 100% compatible? Maybe state could change,no? |
A good question, if they called this on |
@shargon I think add a new one is better to avoid data incompatible. |
Just FYI, I've checked the compatibility with current mainnet up to 3722380 height using this patch applied to 0.101.2 (latest 3.5.0-compatible release) with NeoGo node, it doesn't produce a fork:
Synced NeoGo node log:
States check result:
Although I'm not sure about T5 testnet. |
I've checked compatibility of this patch with T5 testnet as far, it's compatible up to 2306990:
The states comparison result:
So technically if nothinig breaking happens after the checked heights, this PR can be merged as is (without new interop). However, we have #2873 that makes 3.6 incompatible with T5. |
Port the neo-project/neo#2827. Signed-off-by: Anna Shaleva <[email protected]>
@vncoelho Could you have a review? |
Sure, I will review asap |
Co-authored-by: Jimmy <[email protected]>
@shargon We need modify signer.cs |
Could you send me the error? |
@superboyiii @shargon Lets move on to finish this |
I'm waiting for @superboyiii , I didn't have this error |
When make the transaction, we need to calculate Need to fix the RpcServer! |
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.
Good to merge.
Port the neo-project/neo#2827. Signed-off-by: Anna Shaleva <[email protected]>
Close #2825