Skip to content

Commit

Permalink
Release preparation (0.23.0) (#1598)
Browse files Browse the repository at this point in the history
* Script concatenating next release notes

* Concatenate next release notes

I ran ...
```
scripts/cat-files-in-directory-sorted-by-committer-date docs/release-notes/next >> docs/release-notes/RELEASE-NOTES-0.23.0.md && rm -r docs/release-notes/next
```

... then ...
```
git log -p -w --color-moved
```
... for checking no spurious notes excluded/excluded.

* Place release notes in correct location

I removed placeholder lines.

I removed spurious line:
```
* Does this.
```

I checked outcome with `git log -p -w --color-moved`.

* Add focus
  • Loading branch information
lucafavatella committed Sep 27, 2018
1 parent 8039c6c commit dfd7631
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 25 deletions.
25 changes: 21 additions & 4 deletions docs/release-notes/RELEASE-NOTES-0.23.0.md
@@ -1,10 +1,27 @@
# About this release

[This release][this-release] is focused on TODOFILLMEIN.
[This release][this-release] is focused on the Bitcoin-NG Proof of Fraud.
It:
* Does all the things mentioned temporarily in files [/docs/release-notes/next/PT-*.md](/docs/release-notes/next/). I.e. each mentioned item is meant to be placed in a file named as the Pivotal Tracker ticket number in which scope the mentioned item is.

TODO: When preparing the release, concatenate all `/docs/release-notes/next/PT-*.md` files and place them in this file.
* Changes difficulty from a floating point number to an integer value as seen in P2P message PING, and node status.
* Adds fixed gas limit per micro block
* Adds fixed gas to all transactions (contract create and contract call transactions use the fixed gas plus gas needed for their execution)
* Modifies mempool to select transactions up to the gas limit per micro block
* Adds Proof of Fraud (PoF) for reporting a mining leader that creates forks in a generation. This affects consensus.
* Restructures the serialization format for headers by shrinking the version field to 32 bits, and by introducing a flags field in 32 bits. This affects consensus.
* The state channel fsm will now terminate if it detects that someone is
trying to close the channel on-chain.
* Adds built in functions `String.length` and `String.concat` for Sophia strings.
* Fixes a Sophia bug where None would match a Some(x) pattern
* Events (logs) generated by the VM are added to the call state tree. This affects consensus.
* Fixes the VM `CALL` instruction to place `0` (as opposed to `1`) on the stack if the value operand is not covered by the balance of the currently executing account.
* Fixes the Sophia VM primitive operations to check that the specified value is covered by the balance of the currently executing account - regardless of whether the value is used by the primop.
* Fixed a bug that affected syncing of large generations (> 64K).
* Moves Sophia value encoding/decoding from AEVM bytecode to Erlang code. This affects consensus.
* Makes execution of some chain related instructions in contracts more efficient.
* Makes the TIMESTAMP instruction deterministic by using the timestamp of the current micro block. This affects consensus.
* Makes the DIFFICULTY instruction deterministic by using the difficulty at previous key block. This affects consensus.
* Make the gas cost of oracle VM primitive operations proportional to the TTL of the objects (oracles, queries, responses) on state trees. This impacts consensus.
* Improves stability of the user HTTP API.

[this-release]: https://github.com/aeternity/epoch/releases/tag/v0.23.0

Expand Down
2 changes: 0 additions & 2 deletions docs/release-notes/next/PT-155700135.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/PT-157317238.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/PT-158935852.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/release-notes/next/PT-159427123.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/PT-159686884.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/PT-160053468.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/PT-160195093.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/release-notes/next/PT-160237116.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/release-notes/next/PT-160281213

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/PT-160377912.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/PT-160583754.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/release-notes/next/PT-160684022.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/PT-160721422.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/next/option-pattern-compiler-bug

This file was deleted.

10 changes: 10 additions & 0 deletions scripts/cat-files-in-directory-sorted-by-committer-date
@@ -0,0 +1,10 @@
#!/bin/sh

## Sample usage:
## ```
## scripts/cat-files-in-directory-sorted-by-committer-date docs/release-notes/next
## ```

D="${1:?}"

git ls-files -- "${D:?}/" | xargs -IXXX git log -n 1 --pretty="%ct XXX" -- "XXX" | sort --field-separator=' ' --key=1 | cut -d ' ' -f '2-' | xargs cat

0 comments on commit dfd7631

Please sign in to comment.