diff --git a/src/test/examples/cameligo/arithmetic-contract.ligo b/src/test/examples/cameligo/arithmetic-contract.ligo index c0ac61c52..74f2b147c 100644 --- a/src/test/examples/cameligo/arithmetic-contract.ligo +++ b/src/test/examples/cameligo/arithmetic-contract.ligo @@ -16,6 +16,7 @@ entrypoint: add parameters: 5, 6 generateDeployScript: + tool: tezos-client entrypoint: main storage: 0 *_*) diff --git a/src/test/examples/cameligo/id.mligo b/src/test/examples/cameligo/id.mligo index 9f9fabac9..e329e0c74 100644 --- a/src/test/examples/cameligo/id.mligo +++ b/src/test/examples/cameligo/id.mligo @@ -62,6 +62,22 @@ name_price=0tez; skip_price=333mutez } + generateDeployScript: + tool: tezos-client + entrypoint: main + storage: | + { + identities=Big_map.literal[ + (1, + {owner=("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" : address); + controller=("tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN" : address); + profile=0x0501000000026869} + ); + ]; + next_id=2; + name_price=10tez; + skip_price=333mutez + } *_*) type id = int diff --git a/src/test/examples/pascaligo/arithmetic-contract.ligo b/src/test/examples/pascaligo/arithmetic-contract.ligo index 4d916311b..604267653 100644 --- a/src/test/examples/pascaligo/arithmetic-contract.ligo +++ b/src/test/examples/pascaligo/arithmetic-contract.ligo @@ -16,6 +16,7 @@ entrypoint: add parameters: (5, 6) generateDeployScript: + tool: tezos-client entrypoint: main storage: 0 *_*) diff --git a/src/test/examples/pascaligo/id.ligo b/src/test/examples/pascaligo/id.ligo index a0023e201..7ffadab51 100644 --- a/src/test/examples/pascaligo/id.ligo +++ b/src/test/examples/pascaligo/id.ligo @@ -34,7 +34,7 @@ controller=("tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN" : address); profile=0x0501000000026869] ]; - next_id=2; + next_id=2; name_price=0tez; skip_price=50mutez; ] @@ -60,6 +60,21 @@ skip_price=333mutez; ] ) + generateDeployScript: + tool: tezos-client + entrypoint: main + storage: | + record [ + identities=big_map[ + 1->record + [owner=("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" : address); + controller=("tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN" : address); + profile=0x0501000000026869] + ]; + next_id=2; + name_price=0tez; + skip_price=50mutez; + ] *_*) type id is int diff --git a/src/test/examples/reasonligo/arithmetic-contract.ligo b/src/test/examples/reasonligo/arithmetic-contract.ligo index 142d737aa..8690d992c 100644 --- a/src/test/examples/reasonligo/arithmetic-contract.ligo +++ b/src/test/examples/reasonligo/arithmetic-contract.ligo @@ -16,6 +16,7 @@ entrypoint: add parameters: (5, 6) generateDeployScript: + tool: tezos-client entrypoint: main storage: 0 *_*) diff --git a/src/test/examples/reasonligo/id.religo b/src/test/examples/reasonligo/id.religo index 9131a9080..fe64bb7d1 100644 --- a/src/test/examples/reasonligo/id.religo +++ b/src/test/examples/reasonligo/id.religo @@ -60,6 +60,20 @@ skip_price:333mutez } ) + generateDeployScript: + tool: tezos-client + entrypoint: main + storage: | + { + identities:Big_map.literal([ + (1, + {owner:("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" : address), controller:("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx": address), profile:0x0501000000026869} + ) + ]), + next_id:2, + name_price:10tez, + skip_price:333mutez + } *_*) */ type id = int diff --git a/tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx b/tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx index a59ad8226..72017a142 100644 --- a/tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx +++ b/tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx @@ -4,13 +4,12 @@ import styled from 'styled-components'; import { AppState } from '../../redux/app'; import { - ChangeCommandAction, ChangeEntrypointAction, ChangeStorageAction, ChangeToolAction, GenerateDeployScriptState, } from '../../redux/generate-deploy-script'; -import { Tool, ToolCommand } from '../../redux/types'; +import { Tool } from '../../redux/types'; import { AccessFunctionLabel, Group, Input, Label, Textarea } from '../form/inputs'; import { Option, Select } from '../form/select'; @@ -25,10 +24,6 @@ export const GenerateDeployScriptPane = () => { state => state.generateDeployScript.tool ); - const command = useSelector( - state => state.generateDeployScript.command - ); - const entrypoint = useSelector( state => state.generateDeployScript.entrypoint ); @@ -49,16 +44,6 @@ export const GenerateDeployScriptPane = () => { - - - -