mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-14 06:37:11 +00:00
switch to pallet_revive runtime (#40)
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
1 parent
41c8d4e955
commit
d2f76b645f
66 files changed
+3023
-2911
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "polkavm_guest.h"
|
||||
|
||||
extern void __entry(bool);
|
||||
|
||||
static void deploy() {
|
||||
__entry(true);
|
||||
}
|
||||
|
||||
static void call() {
|
||||
__entry(false);
|
||||
}
|
||||
|
||||
POLKAVM_EXPORT(void, deploy)
|
||||
POLKAVM_EXPORT(void, call)
|
||||
Reference in new issue
Block a user