diff --git a/front-end-tools/CHANGELOG.md b/front-end-tools/CHANGELOG.md index a7a5fe6d..4f571cf4 100644 --- a/front-end-tools/CHANGELOG.md +++ b/front-end-tools/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.1.0 + +- Add option to `deriveFromChain` given a module reference in Step 2. + ## 3.0.2 - Fix error message when specifying input parameter without uploading schema. diff --git a/front-end-tools/package.json b/front-end-tools/package.json index 9f26e6e5..f1938bad 100644 --- a/front-end-tools/package.json +++ b/front-end-tools/package.json @@ -1,7 +1,7 @@ { "name": "front-end-tools", "packageManager": "yarn@4.0.2", - "version": "3.0.2", + "version": "3.1.0", "license": "Apache-2.0", "engines": { "node": ">=16.x" diff --git a/front-end-tools/src/components/InitComponent.tsx b/front-end-tools/src/components/InitComponent.tsx index ffe2ba3a..541a42ae 100644 --- a/front-end-tools/src/components/InitComponent.tsx +++ b/front-end-tools/src/components/InitComponent.tsx @@ -703,8 +703,8 @@ export default function InitComponent(props: ConnectionProps) { )} {shouldWarnNoEmbeddedSchema && ( - Warning: No schema was embedded in module. It is unknown if contract expects an input parameter. - No parameter schemas will be displayed + Warning: No schema was embedded in the module deployed on chain. It is unknown if contract + expects an input parameter. No parameter schemas will be displayed )} {shouldWarnInputParameterInSchemaIgnored && ( diff --git a/front-end-tools/src/constants.ts b/front-end-tools/src/constants.ts index 7b425422..c4031aa3 100644 --- a/front-end-tools/src/constants.ts +++ b/front-end-tools/src/constants.ts @@ -44,10 +44,10 @@ export const hexRegex = /^[0-9a-fA-F]+$/; // Module reference displayed as placeholder in the input field. export const MODULE_REFERENCE_PLACEHOLDER = '91225f9538ac2903466cc4ab07b6eb607a2cd349549f357dfdf4e6042dde0693'; -// Available options to select in step 2 for deriving values from the module references. +// Available options to select in step 2 for deriving values from the module reference. export const DO_NOT_DERIVE = { value: "Don't derive", label: "Don't derive" }; export const DERIVE_FROM_STEP_1 = { value: 'Derive from step 1', label: 'Derive from step 1' }; export const DERIVE_FROM_CHAIN = { value: 'Derive from chain', label: 'Derive from chain' }; -// All available options to select in step 2 for deriving values from the module references. +// All available options to select in step 2 for deriving values from the module reference. export const OPTIONS_DERIVE_FROM_MODULE_REFERENCE = [DO_NOT_DERIVE, DERIVE_FROM_STEP_1, DERIVE_FROM_CHAIN];