-
Notifications
You must be signed in to change notification settings - Fork 78
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
Implement System.Callback.*
interops
#1238
Commits on Jul 29, 2020
-
*: move syscall handling out of VM
Remove interop-related structures from the `vm` package. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Configuration menu - View commit details
-
Copy full SHA for 51ae12e - Browse repository at this point
Copy the full SHA 51ae12eView commit details -
core: add prices for TRY* opcodes
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Configuration menu - View commit details
-
Copy full SHA for c09ea04 - Browse repository at this point
Copy the full SHA c09ea04View commit details -
core: implement
System.Callback.*
interopsSupport creating callbacks from pointers. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Configuration menu - View commit details
-
Copy full SHA for 382a7f5 - Browse repository at this point
Copy the full SHA 382a7f5View commit details -
core/tests: introduce loadScript helper
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Configuration menu - View commit details
-
Copy full SHA for e654d22 - Browse repository at this point
Copy the full SHA e654d22View commit details -
core/tests: refactor getting contract state
Get 2 contracts in pair which is useful everytime we need to test syscall with one contract calling the other. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Configuration menu - View commit details
-
Copy full SHA for f96c217 - Browse repository at this point
Copy the full SHA f96c217View commit details -
core: implement
System.Callback.CreateFromMethod
interopSupport creating callbacks from contract methods. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Configuration menu - View commit details
-
Copy full SHA for c54b45e - Browse repository at this point
Copy the full SHA c54b45eView commit details -
core: implement
System.Callback.CreateFromSyscall
interopAllow to create callbacks from syscalls. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Configuration menu - View commit details
-
Copy full SHA for 99b0397 - Browse repository at this point
Copy the full SHA 99b0397View commit details -
core: allow to restrict creating callbacks from syscalls
Specify DisallowCallback flag if syscall is not allowed to be used in a callback. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Configuration menu - View commit details
-
Copy full SHA for 23a1430 - Browse repository at this point
Copy the full SHA 23a1430View commit details -
interop: add Secp2k to the list of crypto interops
Allow to use them during verification.
Configuration menu - View commit details
-
Copy full SHA for 9a99286 - Browse repository at this point
Copy the full SHA 9a99286View commit details