Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Merge staging into master #139

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
e9a5a93
runtime: Cargo feature to make block production faster
iljakuklic Nov 15, 2021
6680699
Attempt to use short block times with CI
TheQuantumPhysicist Nov 16, 2021
a2f451a
Add test as artifacts from CI available to download on failure
TheQuantumPhysicist Nov 16, 2021
217e4f5
Print list of tests running to simplify catching issues + reduce timeout
TheQuantumPhysicist Nov 16, 2021
44eff6a
Disable parallelism of functional tests in CI
TheQuantumPhysicist Nov 16, 2021
f20d147
Minor: Add plural for tests listing
TheQuantumPhysicist Nov 16, 2021
6160010
Use paritydb instead of rocksdb on CI
TheQuantumPhysicist Nov 16, 2021
697b9bb
Rename artifacts
TheQuantumPhysicist Nov 16, 2021
e380f2d
Enforce print order by flushing on WARNING print
TheQuantumPhysicist Nov 16, 2021
7231f60
Merge pull request #127 from mintlayer/block-interval
TheQuantumPhysicist Nov 16, 2021
a9853ec
Refactor staking-related queries to separate file
royster57 Nov 15, 2021
3acca52
Merge pull request #123 from mintlayer/roy/functional
royster57 Nov 17, 2021
b11d40a
utxo: Decrease the number of time lock proptests
iljakuklic Nov 8, 2021
0bc1e88
Merge branch 'time-lock-proptest-fewer-tests' into staging
iljakuklic Nov 17, 2021
a2fb19c
pools: Fetch AccountId of the smart contract from ChainExtension
altonen Oct 18, 2021
46d6347
utxo: Improve Destination::CallPP spending validation
altonen Oct 18, 2021
1699cfb
utxo: Return Result from Utxo::create()/call()
altonen Oct 19, 2021
889a1f0
tests: Implement get_pubkey() for DestCallPP
altonen Oct 20, 2021
9012d3b
pools: Prevent contracts from calling themselves
altonen Oct 21, 2021
c1a4b94
pools: Update smart contract balance after UTXO transfer
altonen Oct 21, 2021
661f654
tests: Implement functional tests for programmable pools
altonen Oct 20, 2021
a7aaad1
Merge pull request #86 from mintlayer/pp-validation
altonen Nov 19, 2021
6300747
Add Dockerfile for mintlayer-core
altonen Nov 21, 2021
80863e2
Wait for withdrawal era instead of waiting 500 seconds
royster57 Nov 17, 2021
dbcb7ab
Enable feature_staking_unlock_and_withdraw test
royster57 Nov 17, 2021
ed8f677
Change current_era to return an int rather than scalecodec.types.U32
royster57 Nov 17, 2021
f5c1ac2
Added hard timeout for awaiting withdrawal_era
royster57 Nov 17, 2021
e2ca982
Merge pull request #130 from mintlayer/roy/functional_b
royster57 Nov 22, 2021
acbf254
Merge branch 'staging' into docker-setup
altonen Nov 22, 2021
98cfdc9
Merge pull request #134 from mintlayer/docker-setup
altonen Nov 22, 2021
1152a6d
staking functional tests: expect exception on testing failed transact…
b-yap Nov 22, 2021
f8769cc
remove prints and extra new lines
b-yap Nov 22, 2021
5cc65bb
Updated docs for node start-up, tokens, and transactions
royster57 Nov 12, 2021
7b34458
Merge pull request #120 from mintlayer/roy/docs_no_wallet_fix
royster57 Nov 23, 2021
445eec4
assert_raise: fix alice_bob_test on tx fees exceeding u64::MAX
b-yap Nov 23, 2021
7c6fb95
global: Replace mentions of node template with Mintlayer terminology
iljakuklic Nov 19, 2021
d8ef0db
runtime: Remove the template pallet
iljakuklic Nov 19, 2021
9f65dfe
assert_raise: disable the smart contract test case
b-yap Nov 23, 2021
18a10b8
Merge branch 'template-cleanup' into staging
iljakuklic Nov 23, 2021
7703856
Merge pull request #135 from mintlayer/assert_raise
sinitcin Nov 23, 2021
6142364
Updated docs/README.md with missing parts from README.md
royster57 Nov 24, 2021
3e9fbf5
README.md to point to docs/README.md
royster57 Nov 24, 2021
44594ac
Added sections on security and bugs
royster57 Nov 24, 2021
f0b370c
Merge pull request #136 from mintlayer/roy/docs_b
royster57 Nov 24, 2021
b13d46b
utxo: Initial support for unsigned transactions
iljakuklic Nov 10, 2021
d3900eb
utxo: Supress unused variable warnings
iljakuklic Nov 16, 2021
7c95b15
utxo: Enforce transactions are unsigned
iljakuklic Nov 19, 2021
ae59e99
wallet: Custom RPC result handling
iljakuklic Nov 19, 2021
7fb3d89
tests: Fix unsigned tx submission in most tests
iljakuklic Nov 24, 2021
b56d8e4
tests: Fix up the staking_extra test to work with unsigned txns
iljakuklic Nov 25, 2021
234aa95
Merge branch 'unsigned-tx' into staging
iljakuklic Nov 25, 2021
cdde90e
tests: Add a test for unsigned transaction submission
iljakuklic Nov 28, 2021
484baf9
Merge branch 'unsigned-tx-test' into staging
iljakuklic Nov 28, 2021
cecaee3
utxo: Disable programmable pools
altonen Nov 29, 2021
09c7d76
Merge pull request #138 from mintlayer/disable-pp
altonen Nov 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
with:
submodules: recursive
- name: Build
run: cargo build --release
run: cargo build --release --features short-block-time
- name: Run tests
run: cargo test --release
run: cargo test --release --features short-block-time
- name: Prepare functional tests
uses: actions/setup-python@v2
with:
Expand All @@ -79,4 +79,10 @@ jobs:
- name: Install scalecodec
run: python -m pip install 'scalecodec == 0.11.18'
- name: Run functional tests
run: python test/functional/test_runner.py
run: python test/functional/test_runner.py --jobs 1
- name: Save test artifacts on failure
uses: actions/upload-artifact@v2
if: failure()
with:
name: functional-tests-logs
path: /tmp/mintlayer*
109 changes: 47 additions & 62 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM debian:bullseye

ENV REQUIRED_PACKAGES git clang curl libssl-dev llvm libudev-dev

RUN apt-get update \
&& apt-get install -y $REQUIRED_PACKAGES \
&& curl https://sh.rustup.rs -sSf | sh -s -- -y \
&& $HOME/.cargo/bin/rustup default stable \
&& $HOME/.cargo/bin/rustup update \
&& $HOME/.cargo/bin/rustup update nightly \
&& $HOME/.cargo/bin/rustup target add wasm32-unknown-unknown --toolchain nightly

RUN apt-get update \
&& apt-get install -y clang-9 \
&& git clone https://github.com/mintlayer/core \
&& cd core \
&& $HOME/.cargo/bin/cargo build --release

WORKDIR /core

EXPOSE 30333

CMD RUST_LOG=info target/release/mintlayer-core --base-path /tmp/ml-core --chain=assets/Testnet1Spec.json
145 changes: 0 additions & 145 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions README.md
2 changes: 1 addition & 1 deletion doc/rust-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Installation
---

This page will guide you through the steps needed to prepare a computer for development with the
Substrate Node Template. Since Substrate is built with
Substrate Node. Since Substrate is built with
[the Rust programming language](https://www.rust-lang.org/), the first thing you will need to do is
prepare the computer for Rust development - these steps will vary based on the computer's operating
system. Once Rust is configured, you will use its toolchains to interact with Rust projects; the
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ version: "3.2"

services:
dev:
container_name: node-template
container_name: mintlayer-core
image: paritytech/ci-linux:974ba3ac-20201006
working_dir: /var/www/node-template
working_dir: /var/www/mintlayer-core
ports:
- "9944:9944"
environment:
- CARGO_HOME=/var/www/node-template/.cargo
- CARGO_HOME=/var/www/mintlayer-core/.cargo
volumes:
- .:/var/www/node-template
- .:/var/www/mintlayer-core
- type: bind
source: ./.local
target: /root/.local
command: bash -c "cargo build --release && ./target/release/node-template --dev --ws-external"
command: bash -c "cargo build --release && ./target/release/mintlayer-core --dev --ws-external"
Loading