Skip to content

Commit

Permalink
Merge pull request #41 from hirosystems/draft/sip-012
Browse files Browse the repository at this point in the history
SIP-012: Burn height selection for network-upgrade to introduce new cost-limits
  • Loading branch information
jcnelson authored Dec 7, 2021
2 parents f968b74 + 3c83e32 commit 029b56d
Show file tree
Hide file tree
Showing 11 changed files with 18,111 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Selection for a Network Upgrade to Introduce New Cost-Limits
* [SIP-009](./sips/sip-009/sip-009-nft-standard.md): Standard Trait Definition
for Non-Fungible Tokens
* [SIP-010](./sips/sip-010/sip-010-fungible-token-standard.md): Standard Trait Definition for Fungible Tokens
* [SIP-012](./sips/sip-012/sip-012-cost-limits-network-upgrade.md): Burn Height Selection for a Network Upgrade to Introduce New Cost-Limits

## How to Get Involved

Expand Down
Binary file added sips/sip-012/SIP-012-001.ods
Binary file not shown.
18 changes: 18 additions & 0 deletions sips/sip-012/scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SIP 012 Vote Tabulation Script

The main script is `count-votes.sh`. It will count up the votes for/against SIP 012 for a given reward cycle. See `count-votes.sh` for detailed usage information.

Sample run:

```
$ cat stackers-19.json delegating.json | ./count-votes.sh /tmp/tally-19 4933b0b002a854a9ca7305166238d17be018ce54e415530540aa7e620e9cd86d 705850
{"yes":"10194020608227","no":"0"}
$ cat stackers-20.json delegating.json | ./count-votes.sh /tmp/tally-20 7ae943351df455aab1aa69ce7ba6606f937ebab5f34322c982227cd9e0322176 707951
{"yes":"77064706545373","no":"0"}
```

To generate the artifacts `stackers-19.json`, `stackers-20.json`, and `delegating.json` from a Stacks node's debug log file, run the following:

```
$ ./generate-artifacts.sh /path/to/node/log.txt
```
Loading

0 comments on commit 029b56d

Please sign in to comment.