Skip to content

Commit b034381

Browse files
authored
Update governance-tx.md
1 parent 7030ee5 commit b034381

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

docs/guides/node-operators/validators/governance-tx.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,25 @@ script {
9191
```
9292

9393
## Compile
94+
Proposers of the admin transaction must compile. Voters should be encouraged to also compile the transaction to confirm the build artifacts.
9495

95-
To compile we simply use the same command we originally generated the template with, and point to the `Script Dir` where your modified template is found.
96+
If for example your script is at `proposals/up-00016/1-exit-gov-mode`
97+
98+
1. IMPORTANT: modify the Move.toml at `proposals/up-00016/1-exit-gov-mode/Move.toml`, to include the full path to the OL libra-framework source code.
99+
100+
```
101+
# in <script-dir>/Move.toml
102+
103+
[dependencies.LibraFramework]
104+
# DEVS: this must be the fully qualified path to the Libra Framework
105+
local = '<PATH/TO/YOUR/libra-framework/framework/libra-framework'
106+
```
107+
108+
2. Compile the script
96109

97110
```
98-
libra move framework governance --script-dir <Script Dir> --framework-local-dir ~/libra-framework/framework/
111+
# from this (the 'upgrades' project) root dir
112+
libra move framework governance --script-dir ./proposals/up-0016/1-exit-gov-mode --framework-local-dir <PATH/TO/YOUR/SOURCE/libra-framework/framework
99113
```
100114

101115

0 commit comments

Comments
 (0)