Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit e665ec1

Browse files
author
Michael Hueschen
committed
[CBR-503] Document OBFT update testing; update Changelog
1 parent 426573f commit e665ec1

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
### Features
1313

1414
- Support for (unused) addresses batch import ([CO-448](https://iohk.myjetbrains.com/youtrack/issue/CO-448) [#4040](https://github.com/input-output-hk/cardano-sl/pull/4040))
15-
- Add `script-runner` tool to automate cluster-level testing ([DEVOPS-1131](https://iohk.myjetbrains.com/youtrack/v2/issue/devops-1131): [#3916](https://github.com/input-output-hk/cardano-sl/pull/3916) [#4057](https://github.com/input-output-hk/cardano-sl/pull/4057))
15+
- Add `script-runner` tool to automate cluster-level testing ([DEVOPS-1131](https://iohk.myjetbrains.com/youtrack/v2/issue/devops-1131): [#3916](https://github.com/input-output-hk/cardano-sl/pull/3916) [#4057](https://github.com/input-output-hk/cardano-sl/pull/4057) [#4061](https://github.com/input-output-hk/cardano-sl/pull/4061))
1616

1717
- Node Monitoring API: nodes now serve their own settings and info via a web server via a `/api/v1/node-settings` and `/api/v1/node-info` (still proxied by the wallet backend) ([#110](https://github.com/input-output-hk/cardano-wallet/issues/110))
1818
- Set up scaffolding for node API [#3788](https://github.com/input-output-hk/cardano-sl/pull/3788)

script-runner/README.md

+20
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,23 @@ This module contains scripts to perform tests at the cluster level - running clu
55
### Usage
66

77
See the `stack-gui` and `stack-test` scripts which contain usage commands.
8+
9+
### Testing OBFT
10+
11+
`script-runner` launches nodes using the `dev:` key of `lib/configuration.yaml`. We can start in OBFT era by applying a patch such as
12+
```
13+
diff --git a/lib/configuration.yaml b/lib/configuration.yaml
14+
index b55039730b..f67e581929 100644
15+
--- a/lib/configuration.yaml
16+
+++ b/lib/configuration.yaml
17+
@@ -48,7 +48,7 @@ dev: &dev
18+
txSizeLinear:
19+
a: 155381 # absolute minimal fees per transaction
20+
b: 43.946 # additional minimal fees per byte of transaction size
21+
- unlockStakeEpoch: 18446744073709551615 # last epoch (maxBound @Word64)
22+
+ unlockStakeEpoch: 9999999999999999999
23+
protocolConstants: &dev_core_genesis_spec_protocolConstants
24+
k: 2
25+
protocolMagic: 55550001
26+
```
27+
and then running a test e.g. `cd script-runner && ./stack-test test4.1` which ensures that we can issue update proposals and see them adopted in OBFT era.

0 commit comments

Comments
 (0)