Skip to content

Commit

Permalink
fix(e2e): fix eth_getBalance e2e test case (#441)
Browse files Browse the repository at this point in the history
* chore(deps): bump crossbeam-channel from 0.5.4 to 0.5.5 (#435)

Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](crossbeam-rs/crossbeam@crossbeam-channel-0.5.4...crossbeam-channel-0.5.5)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump quote from 1.0.18 to 1.0.19 (#439)

Bumps [quote](https://github.com/dtolnay/quote) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](dtolnay/quote@1.0.18...1.0.19)

---
updated-dependencies:
- dependency-name: quote
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump anyhow from 1.0.57 to 1.0.58 (#438)

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.57...1.0.58)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump syn from 1.0.96 to 1.0.98 (#436)

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.96 to 1.0.98.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.96...1.0.98)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump axum from 0.5.7 to 0.5.8 (#437)

Bumps [axum](https://github.com/tokio-rs/axum) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](tokio-rs/axum@axum-v0.5.7...axum-v0.5.8)

---
updated-dependencies:
- dependency-name: axum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(e2e): fix eth_getBalance e2e test case

update eth_getBalance test case no.4 and no.6, from "-32001" to "0x0"

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cryptape@michael <default@email.com>
  • Loading branch information
3 people committed Jun 20, 2022
1 parent 0979479 commit 3cc470e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions tests/e2e/src/eth_getBalance.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe("eth_getBalance", () => {
await testType.type("1"); // 0: none params 1: common params to request 2: more params
await param1.type(testDataInfo.accountAddress);
await param2.type("0xfffffff");
await goto.check(page, "-32001");
await goto.check(page, "0x0");
});

/**
Expand Down Expand Up @@ -89,7 +89,7 @@ describe("eth_getBalance", () => {
await testType.type("1"); // 0: none params 1: common params to request 2: more params
await param1.type("0x3dF82e36a8b27CE05815f88a8021b61aAbeF8B31");
await param2.type("latest");
await goto.check(page, "-32001");
await goto.check(page, "0x0");
});

/**
Expand Down

0 comments on commit 3cc470e

Please sign in to comment.