mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-15 22:01:05 +00:00
switch to pallet_revive runtime (#40)
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -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