Skip to content

Commit

Permalink
Fix testnet spec generation (when Alice account already exists)
Browse files Browse the repository at this point in the history
  • Loading branch information
gztensor committed Jul 26, 2024
1 parent 6c25314 commit 9a206a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .baedeker/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ BDK_DIR=$(dirname $(readlink -f "$0"))
RUST_LOG=info baedeker --spec=docker -J$BDK_DIR/vendor/ --generator=docker_compose=$BDK_DIR/.bdk-env --generator=docker_compose_discover=$BDK_DIR/.bdk-env/discover.env --secret=file=$BDK_DIR/.bdk-env/secret --tla-str=relay_spec=rococo-local --input-modules='lib:baedeker-library/ops/nginx.libsonnet' --input-modules='lib:baedeker-library/ops/devtools.libsonnet' --tla-str=repoDir=$(realpath $BDK_DIR/..) $@ $BDK_DIR/rewrites.jsonnet
cd $BDK_DIR/.bdk-env
#docker compose up -d --wait --remove-orphans

# patch spec with Alice balance

2 changes: 1 addition & 1 deletion .baedeker/vendor/baedeker-library/mixin/raw-spec.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ local
providers: super?.providers ?? 1,
sufficients: super?.sufficients ?? 0,
data+: {
free+: std.bigint(1000000000),
free: std.bigint(1000000000),
reserved: super?.reserved ?? std.bigint(0),
frozen: super?.reserved ?? std.bigint(0),
flags: super?.flags ?? std.bigint(0),
Expand Down

0 comments on commit 9a206a7

Please sign in to comment.