Skip to content

Commit 849c875

Browse files
authored
Merge pull request #1222 from aeternity/release/v8.2.0
Release 8.2.0
2 parents 12a9843 + ebcfeed commit 849c875

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4557
-3250
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
NODE_TAG=v5.10.1
2-
COMPILER_TAG=v4.3.2
1+
NODE_TAG=v6.1.0
2+
COMPILER_TAG=v6.0.0

.github/workflows/main.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Test, build, and deploy
2+
on: [push, pull_request]
3+
jobs:
4+
main:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- if: github.ref != 'refs/heads/develop'
8+
uses: actions/checkout@v2
9+
with:
10+
ref: develop
11+
- uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 100
14+
- if: github.ref != 'refs/heads/develop'
15+
run: git branch develop origin/develop
16+
17+
- uses: actions/setup-node@v2
18+
with:
19+
node-version: 14.x
20+
- uses: actions/cache@v2
21+
with:
22+
path: ~/.npm
23+
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
24+
25+
- run: npm ci --ignore-scripts
26+
- run: npm run lint
27+
- run: npm run build
28+
- run: npm run test:unit
29+
30+
- uses: actions/setup-python@v2
31+
with:
32+
python-version: 3.8
33+
- uses: actions/cache@v2
34+
with:
35+
path: ~/.cache/pip3
36+
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}
37+
- run: pip3 install -r docs/requirements.txt
38+
- run: mkdocs build
39+
40+
- run: docker-compose up -d
41+
- name: Ensure that node is running
42+
run: |
43+
while [[ `curl -s -o /dev/null -w %{http_code} localhost:3013/api` != 200 ]]; do
44+
sleep 0.2;
45+
done
46+
47+
- run: npm run test:integration:channel,accounts
48+
- run: npm run test:integration:contract,chain
49+
- run: npm run test:integration:else
50+
- run: npm run report-coverage
51+
if: always()
52+
- run: docker-compose logs
53+
if: always()
54+
55+
- uses: peaceiris/actions-gh-pages@v3
56+
if: github.ref == 'refs/heads/master'
57+
with:
58+
github_token: ${{ secrets.GITHUB_TOKEN }}
59+
publish_dir: docs

.travis.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
## [8.2.0](https://github.com/aeternity/aepp-sdk-js/compare/8.1.0...v8.2.0) (2021-06-17)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* **crypto:** remove outdated generateSaveWallet function
11+
* **crypto:** remove unused prepareTx, encodeTx, decodeTx functions
12+
* **crypto:** remove unused hexStringToByte function
13+
* **crypto:** rename messageToBinary to messageToHash adding hashing
14+
* **crypto:** drop extra "personal" from message functions
15+
* **crypto:** remove unused formatAddress function
16+
* **crypto:** remove unused addressToHex function
17+
* **node-pool:** inline helpers, export by default
18+
* **string:** use isAddressValid instead of isAeAddress
19+
* **string:** remove unused snakeOrKebabToPascal function
20+
* drop outdated protocols and transactions schemas
21+
* drop compatibility with node@5
22+
23+
### Bug Fixes
24+
25+
* export aepp-wallet-communication ([d5d741c](https://github.com/aeternity/aepp-sdk-js/commit/d5d741cfd71c757f1b3e55e6708fb589c8ed6136))
26+
* ponyfill `Buffer` in browser ([953bf08](https://github.com/aeternity/aepp-sdk-js/commit/953bf0845bd64731cd57ed152fed67575120a276))
27+
* ponyfill `process` in browser ([798ab63](https://github.com/aeternity/aepp-sdk-js/commit/798ab63d0f3ebd3648be4bfce88b0b3d38013e6e))
28+
* **rlp:** import as it is ([736b0f5](https://github.com/aeternity/aepp-sdk-js/commit/736b0f5b8a4cfb39c76c2dc57880c234b804a8e2))
29+
* typo name of broadcast failed error generator ([ae7e823](https://github.com/aeternity/aepp-sdk-js/commit/ae7e8238c378e0aa2095328577ef0ce2bd518e49))
30+
* **examlple-aepp:** open only when ready to accept connection ([4872eb9](https://github.com/aeternity/aepp-sdk-js/commit/4872eb979330f1676241dfefc434c0eeafcf5eab))
31+
32+
33+
* **crypto:** drop extra "personal" from message functions ([34288cb](https://github.com/aeternity/aepp-sdk-js/commit/34288cb9adb443d8bd44ba6ddc93edf4de37349a))
34+
* **crypto:** remove outdated generateSaveWallet function ([37298be](https://github.com/aeternity/aepp-sdk-js/commit/37298be567d7065e06904cb0d7d5a01f649131fb))
35+
* **crypto:** remove unused addressToHex function ([93f9def](https://github.com/aeternity/aepp-sdk-js/commit/93f9def0e90bcc20641aab464f93ddcedd1d1aa2))
36+
* **crypto:** remove unused formatAddress function ([a5d4b62](https://github.com/aeternity/aepp-sdk-js/commit/a5d4b6263d45edf0e454addfe1e96b4741b46db3))
37+
* **crypto:** remove unused hexStringToByte function ([ed39a76](https://github.com/aeternity/aepp-sdk-js/commit/ed39a7659ac04abd5dbd80d54d28369bfa4322b9))
38+
* **crypto:** remove unused prepareTx, encodeTx, decodeTx functions ([64d15eb](https://github.com/aeternity/aepp-sdk-js/commit/64d15eb8eb7608b7418eebd84bedb697a1a7b12a))
39+
* **crypto:** rename messageToBinary to messageToHash adding hashing ([df37004](https://github.com/aeternity/aepp-sdk-js/commit/df37004f57a751b0f089dcef7b8fbcdf306bd08f))
40+
* **node-pool:** inline helpers, export by default ([ed1cfb5](https://github.com/aeternity/aepp-sdk-js/commit/ed1cfb59ada165b535a7f9bb7a3f3acdec00aac1))
41+
* **string:** remove unused snakeOrKebabToPascal function ([79bdc04](https://github.com/aeternity/aepp-sdk-js/commit/79bdc0490024e173c7620cfa089a4e84212930b3))
42+
* **string:** use isAddressValid instead of isAeAddress ([ac7d827](https://github.com/aeternity/aepp-sdk-js/commit/ac7d82701e30f9b7f2bc0d40412244face330d18))
43+
* drop compatibility with node@5 ([f5e2fdb](https://github.com/aeternity/aepp-sdk-js/commit/f5e2fdb42cc115a11c6be6e3dfd5cd1acfd6d3cc))
44+
* drop outdated protocols and transactions schemas ([f18d305](https://github.com/aeternity/aepp-sdk-js/commit/f18d305ca29204f006a438c157add0b511df4e93))
45+
146
# [8.1.0](https://github.com/aeternity/aepp-sdk-js/compare/8.0.0...8.1.0) (2021-05-31)
247

348

commitlint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional']
3+
}

docker-compose.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,12 @@ services:
66
ports: ["3013:3013", "3113:3113", "3014:3014", "3114:3114"]
77
environment:
88
EPOCH_CONFIG: /home/aeternity/aeternity_node.yaml
9-
command: bin/aeternity console -noinput -aecore expected_mine_rate ${EPOCH_MINE_RATE:-5000}
9+
command: bin/aeternity console -noinput -aecore
1010
volumes:
1111
- ./docker/aeternity_node_mean16.yaml:/home/aeternity/aeternity_node.yaml
12-
- ./docker/keys/node:/home/aeternity/node/keys
1312
- ./docker/accounts_test.json:/home/aeternity/node/data/aecore/.genesis/accounts_test.json
14-
- node_db:/home/aeternity/node/data/mnesia
1513

1614
compiler:
1715
image: aeternity/aesophia_http:${COMPILER_TAG}
1816
hostname: compiler
1917
ports: ["3080:3080"]
20-
21-
volumes:
22-
node_db:

docker/aeternity_node_mean16.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,19 @@ http:
88
debug_endpoints: true
99
port: 3113
1010
listen_address: 0.0.0.0
11+
endpoints:
12+
dry-run: true
1113

1214
websocket:
1315
channel:
1416
listen_address: 0.0.0.0
1517
port: 3014
1618

17-
keys:
18-
peer_password: "top secret"
19-
dir: ./keys
20-
2119
chain:
2220
persist: false
2321
hard_forks:
2422
"1": 0
25-
"2": 2
26-
"3": 4
27-
"4": 6
23+
"5": 1
2824

2925
mining:
3026
autostart: true

docker/keys/beneficiary/key

Lines changed: 0 additions & 1 deletion
This file was deleted.

docker/keys/beneficiary/key.pub

Lines changed: 0 additions & 1 deletion
This file was deleted.

docker/keys/node/peer_key

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)