Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(FI-880) make amounts relative #148

Merged
merged 9 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "ad9783ce8e08ab1bcbcc853142e7d93648924113cbe1f4dffb641461593f5afe",
"checksum": "ec1399cbfbf39cb193521fca68900eb982d456d2f9d6368be2859004fc736016",
"crates": {
"addr2line 0.20.0": {
"name": "addr2line",
Expand Down Expand Up @@ -5290,9 +5290,9 @@
},
"license": "Apache-2.0"
},
"icrc1-test-suite 0.1.0": {
"icrc1-test-suite 0.1.1": {
"name": "icrc1-test-suite",
"version": "0.1.0",
"version": "0.1.1",
"repository": null,
"targets": [
{
Expand Down Expand Up @@ -5328,7 +5328,7 @@
"selects": {}
},
"edition": "2018",
"version": "0.1.0"
"version": "0.1.1"
},
"license": "Apache-2.0"
},
Expand Down Expand Up @@ -14013,7 +14013,7 @@
"icrc1-test-env-state-machine 0.1.0": "test/env/state-machine",
"icrc1-test-replica 0.1.0": "test/replica",
"icrc1-test-runner 0.1.0": "test/runner",
"icrc1-test-suite 0.1.0": "test/suite"
"icrc1-test-suite 0.1.1": "test/suite"
},
"conditions": {
"aarch64-apple-darwin": [
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ edition = "2018"
repository = "https://github.com/dfinity/ICRC-1"
rust-version = "1.31.0"
license = "Apache-2.0"
description = "A package which provides a test suite that can be run against an ICRC-1 compatible ledger."
1 change: 1 addition & 0 deletions test/env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
repository = { workspace = true }
description = { workspace = true }

[lib]
path = "lib.rs"
Expand Down
1 change: 1 addition & 0 deletions test/env/replica/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
repository = { workspace = true }
description = { workspace = true }

[lib]
path = "lib.rs"
Expand Down
1 change: 1 addition & 0 deletions test/env/state-machine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
repository = { workspace = true }
description = { workspace = true }

[lib]
path = "lib.rs"
Expand Down
1 change: 1 addition & 0 deletions test/replica/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
repository = { workspace = true }
description = { workspace = true }

[lib]
path = "lib.rs"
Expand Down
7 changes: 4 additions & 3 deletions test/runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
repository = { workspace = true }
description = { workspace = true }

[[bin]]
name = "runner"
path = "main.rs"

[dependencies]
icrc1-test-env = { path = "../env" }
icrc1-test-env-replica = { path = "../env/replica" }
icrc1-test-suite = { path = "../suite" }
icrc1-test-env = { version ="0.1.0", path = "../env" }
icrc1-test-env-replica = { version ="0.1.0", path = "../env/replica" }
icrc1-test-suite = { version ="0.1.1", path = "../suite" }
ic-agent = { workspace = true }
pico-args = "0.5"
reqwest = { workspace = true }
Expand Down
5 changes: 3 additions & 2 deletions test/suite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "icrc1-test-suite"
version = "0.1.0"
version = "0.1.1"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
repository = { workspace = true }
description = { workspace = true }

[lib]
path = "lib.rs"
Expand All @@ -14,4 +15,4 @@ path = "lib.rs"
anyhow = "1.0"
candid = "0.8.0"
futures = "0.3.24"
icrc1-test-env = { path = "../env" }
icrc1-test-env = { version ="0.1.0", path = "../env" }
6 changes: 6 additions & 0 deletions test/suite/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.1] - 2023-09-08
### Changed
- Make amounts transferred and approved in tests independent of the ledger fee and relative within a single test
### Added
- Basic tests for the ICRC-2 standard.

## [0.1.0] - 2023-26-07
### Added
- Original release.
Loading
Loading