Skip to content

Commit

Permalink
Tokyo release v3.2.0 (#279)
Browse files Browse the repository at this point in the history
* Drew link to parity sub (#248)

* Switch branch to master, updates deps

* Points to parity, updates runtime, service broken [skip ci]

* Fixes service for parity peg

* Remove migrate account trait

* Adds chainbridge and version bumps (#254)

* Adds chainbridge and version bumps

* Reverts back to chain id 5

* Replace error strings with decl_error enum. (#252)

* Add error types.

* Fixes comma

* Add test cases for errors.

* Version bump.

Co-authored-by: Drew Stone <[email protected]>

* Enable commit reveal signaling proposals. (#255)

* Add signaling commit reveal flag.

* Add commit reveal tests.

* Switch boolean flag to enum.

* Draft initial migration.

* Fix migration build and test.

* Bump version, fix tests.

* Signaling proposal deletion now also deletes vote records. (#258)

* Signaling proposal deletion now also deletes vote records.

* Fix treasury reward tests.

* Adds benchmarking for signaling and voting frames. (#257)

* Add initial benchmark for signaling proposals.

* Attempt to add benchmarking to toml files.

* Updates to substrate commit

* Remove chainbridge.

* Get it building with benchmarks enabled.

* Fix assertion.

* Add voting benchmarks.

* Add commit benchmarks.

* Remove dead code, switch signaling bench to multioutcome.

* Fix broken signaling benchmark and generate weights.

* Integrate weights into runtime and modules.

* Bump impl version but not spec.

* Update readme with commands for benchmarking.

* Get better benchmarks.

* Bump spec version.

* Update readme.

* Swap weightinfo trait to runtime.

* Fix treasury reward tests.

* Add const bounds for weight computation.

* Add default weights and tests for bounds.

* Rename MaxProposals to MaxSignalingProposals.

* Bump runtime version again.

Co-authored-by: Drew Stone <[email protected]>

* Chainbridge merge for develop (#262)

* Merges dev, needs fn for benchmarking cb

* Add benchmarks

* Shorten gov times

* Compiles

* Updates substrate to master (#268)

* Bump Substrate version and fix much of build.

* Fix build up to service file.

* Complete build of updated substrate.

* add orml token lib, fix project layout

* Updates

* Fix module test

* Add event

Co-authored-by: Jake Naviasky <[email protected]>

* Add frontier (EVM) integration. (#269)

* Integrate EVM into runtime but not service.

* Update chain spec with eth pallets.

* Get service to build.

* It builds with EVM changes.

* Attempt to convert project to use only one substrate version.

* Swap out Substrate version for more current one.

* Add submodule line for CI.

* Swap remaining twox hashers to blake.

* Remove unused precompiles and bump frontier branch.

* Remove ORML dependencies.

* Update frontier to up-commit

* Updates frontier (#270)

* ups frontier

* Bump frontier and use updated precompile code.

* Add additional precompiles.

* Fix precompile addresses.

Co-authored-by: Jake Naviasky <[email protected]>

* Add stubbed out test file.

* Add treasury proposal test.

* Copy over testing repos.

* Cleanup test folders.

* Update upgrade tester paths.

* Fix time test.

* Add edgeware spawn util and update tests.

* Add submodule command to setup script.

* Basic working CI implementation.

* Add yarn install to ci.

* Swap out CI base image to get terminfo for yarn.

* Add sudo for new image.

* Switch to npm.

* Switch to node image and add yarn cache.

* Remove cache and add full build command.

* Add cargo source to main build cmd.

* Add identity precompile to match ETH addresses.

* Change Eth ChainId to 2021.

* Switch to spaces in utils file.

* Add accidentally deleted create tests.

* Add caching to speed up CI script.

* Remove manual wasm-gc dependency.

* Peg runtime module indices.

* Bump polkadot api versions.

* Bump frontier, remove modules and precompiles. (#273)

* Remove signaling and voting modules.

* Remove precompiles above Identity.

* Bump frontier version to fix test build.

* Bump frontier version.

* Fix tests passing in unnecessarily large gas values.

* Fix ECRecovery test.

* Remove submodule + upgrade frontier. (#277)

* Simplify before and after test structure.

* Add identity test and cleanup.

* Tests no longer triggered at specific blocks.

* Add democracy test and util.

* Remove vendor and peg to our frontier fork.

* Bump frontier version.

* Bump frontier and add same node upgrade.

* Fix failing balance test with type changes.

* Add compiled flag and remove unused upgrade block.

* Add frontier tests post-upgrade tests.

* Cleanup upgrade tests running frontier.

* Add democracy upgrade script.

* Unsubscribe from first event loop.

* Set democracy timing back to normal.

* Add staking test.

* Add council test.

* Add assets pallet (#278)

* Add assets pallet

* Use assetId

* Remove inspect

* Add prometheus script.

* Remove quotes in substrate node job name.

* Remove pallet-assets patch.

* Remove vendor and peg to our frontier fork. (#275)

* Remove vendor and peg to our frontier fork.

* Bump frontier version.

* Bump frontier again.

* Revert "Bump frontier again."

This reverts commit 10253cd.

* Param updates (#280)

* Next set of upgrades to node. (#282)

* Bump underlying versions.

* Add gas weight mapping.

* Add TryFrom import.

* Bump gas per second to 8m.

* Fix CLI build.

* Bump to tilde versions for parity deps.

* Switch tilde to omit minor versions.

* Bump frontier commit.

* Add std features to new pallets.

* Fix genesis and wrong gas estimates.

* Switch to binary search gas estimation.

* Reenable L64 feature with new estimation logic.

* Revert frontier change to older branch.

* Bump frontier commit to use better estimation.

* Bump frontier commit to use better estimation.

* Reduce gas argument to substrate balances test.

* Fix gas costs in tests.

* Remove fee calculator to permit 0 gas. Fix tests.

* Fix module tests.

* Add modexp and ed25519 precompiles.

* Bump frontier commit.

* Fix ed25519 example case.

* Bump frontier version to include binary search estimation.

* Bump frontier version.

* Add gas price flag.

* Add forker copy

* Ups

* Attempt to fix forker script.

* Fix forker module to work.

* Remove min gas price flag.

* Perform upgrade with forker-derived state.

* Test fixes for new chain spec.

* Fix chain name.

* Fix democracy upgrade test.

* Add fixed gas price of 1.

* Fix FeeCalculator trait reference.

* Add storage and module upgrade test.

* Add skipped testGasWeighting frontier test.

* Remove built contracts from repo.

Co-authored-by: Drew Stone <[email protected]>

* Merge master to develop (#283)

* Point to master hicommonwealth/substrate

* adds versions

* Add licenses and metada

* Add descriptions to tomls

* Adds missing version

* Add fallback, make governance faster, make contracts cheaper (#267)

* version bump

* Versioning

* Versions

* Upgrade CI to store binary artifact. (#284)

* Add store_artifacts CI step.

* Switch node image to lts.

* Switch to explicit node installation.

* Install sudo etc.

* Add -y flag to apt-get.

* Add curl to init script.

* Use node 10 instead.

* Fix yaml

* Fix nodejs npm conflict.

* Remove echos in CI. [ci skip]

* Fix time test.

* Connect networking to grandpa

* Move peer set config up

Co-authored-by: Jake Naviasky <[email protected]>
  • Loading branch information
drewstone and jnaviask authored Jan 27, 2021
1 parent fbbcd2a commit b9593b0
Show file tree
Hide file tree
Showing 143 changed files with 19,619 additions and 6,536 deletions.
40 changes: 38 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,53 @@ version: 2
jobs:
build:
docker:
- image: phusion/baseimage:0.11
- image: ubuntu:18.04
environment:
DEBUG_BUILD: true
DEBIAN_FRONTEND: noninteractive

working_directory: ~/edgeware

steps:
- checkout
# basic image config to install sudo, node, yarn
- run: apt-get update
- run: apt-get install -y sudo git curl
- run: curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
- run: sudo apt-get install -y nodejs
- run: npm install --global yarn

# begin using repo-specific scripts
- checkout
- run: ~/edgeware/scripts/init.sh

# get cached edgeware build
- restore_cache:
key: edgeware-{{ checksum "Cargo.lock" }}

# module test cases
- run: source ~/.cargo/env && cd ~/edgeware && ./scripts/test.sh

# full build
- run: source ~/.cargo/env && cd ~/edgeware && cargo build --release

# save the built binary
- store_artifacts:
path: ~/edgeware/target/release/edgeware
destination: edgeware-node

# save edgeware build
- save_cache:
key: edgeware-{{ checksum "Cargo.lock" }}
paths:
- target

# ts test cases with node_modules caching
- restore_cache:
key: edgeware-tests-{{ checksum "ts-tests/frontier-tester/yarn.lock" }}
- run: cd ~/edgeware/ts-tests/frontier-tester && yarn
- save_cache:
key: edgeware-tests-{{ checksum "ts-tests/frontier-tester/yarn.lock" }}
paths:
- ts-tests/frontier-tester/node_modules

- run: cd ~/edgeware/ts-tests/frontier-tester && yarn test-ci
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ edgeware*.wasm
# Misc
.vscode
mainnet-state.json
db
node_modules
forker-data
beresheet-state.json
build
Empty file added .gitmodules
Empty file.
Loading

0 comments on commit b9593b0

Please sign in to comment.