Merge branch 'compile-storage-for-server-side-deploy' into 'dev'
Fix for compile storage for server side deploy See merge request ligolang/ligo!462
This commit is contained in:
commit
b969672596
@ -40,10 +40,12 @@ export async function deployHandler(req: Request, res: Response) {
|
||||
'json'
|
||||
);
|
||||
|
||||
const michelsonStorage = await new LigoCompiler().compileExpression(
|
||||
const michelsonStorage = await new LigoCompiler().compileStorage(
|
||||
body.syntax,
|
||||
body.storage,
|
||||
'json'
|
||||
body.code,
|
||||
body.entrypoint,
|
||||
'json',
|
||||
body.storage
|
||||
);
|
||||
|
||||
await Tezos.importKey(await fetchRandomPrivateKey());
|
||||
|
Loading…
Reference in New Issue
Block a user