Uh oh!
There was an error while loading. Please reload this page.
Rofl public vars - #705
Conversation
✅ Deploy Preview for oasisprotocol-cli canceled.
|
c08fc30 to
f39a94fCompare
martintomazic
left a comment
There was a problem hiding this comment.
Followed the style and organisation 1:1 with oasis rofl secrets.
| prevConfig := *cliConfig.Global() | ||
| cliConfig.ResetDefaults() | ||
| t.Cleanup(func() { | ||
| *cliConfig.Global() = prevConfig | ||
| }) |
There was a problem hiding this comment.
NIT: existing global config makes things hard to test cleanly :((
Uh oh!
There was an error while loading. Please reload this page.
f39a94f to
9dc9218Compare
matevz
left a comment
There was a problem hiding this comment.
If you define a public var with the same name as the existing secret, Oasis CLI should fail.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
9dc9218 to
e3c9919Comparemartintomazic
commented
Jul 6, 2026
Private variable name (if Note there is similar issue with secrets definitions overlapping between each other:
meaning cli should probably not allow setting |
matevz
left a comment
There was a problem hiding this comment.
Please also mention special env. metadata fields behavior in the ROFL manifest specs https://github.com/oasisprotocol/oasis-sdk/blob/main/docs/rofl/features/manifest.md
Uh oh!
There was an error while loading. Please reload this page.
e3c9919 to
813ada8Comparepeternose
commented
Jul 8, 2026
You could also gather these variables under the same key, e.g. |
813ada8 to
b19304fCompareSame comments exists for the rest of the package.
b19304f to
17537edCompareUh oh!
There was an error while loading. Please reload this page.
Part of oasisprotocol/oasis-sdk#2248.
Used public var instead of env to make sure people don't accidentally set secrets here.
Tested it with https://github.com/oasisprotocol/Honoroll/pull/440.