Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Problem: duplicate code between tx-validation and tx-query enclaves#422

Merged
bors[bot] merged 5 commits intocrypto-com:masterfrom
tomtau:fix/unsealing-common
Sep 27, 2019
Merged

Problem: duplicate code between tx-validation and tx-query enclaves#422
bors[bot] merged 5 commits intocrypto-com:masterfrom
tomtau:fix/unsealing-common

Conversation

@tomtau
Copy link
Copy Markdown
Contributor

@tomtau tomtau commented Sep 25, 2019

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 26, 2019

Codecov Report

Merging #422 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #422      +/-   ##
==========================================
- Coverage   63.03%   63.02%   -0.01%     
==========================================
  Files         108      108              
  Lines       11941    11941              
==========================================
- Hits         7527     7526       -1     
- Misses       4414     4415       +1
Impacted Files Coverage Δ
client-core/src/synchronizer/auto_synchronizer.rs 53.19% <0%> (-0.71%) ⬇️

@tomtau
Copy link
Copy Markdown
Contributor Author

tomtau commented Sep 26, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 26, 2019
422: Problem: duplicate code between tx-validation and tx-query enclaves r=tomtau a=tomtau

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query


Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Sep 26, 2019

Timed out

@tomtau
Copy link
Copy Markdown
Contributor Author

tomtau commented Sep 26, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 26, 2019
422: Problem: duplicate code between tx-validation and tx-query enclaves r=tomtau a=tomtau

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query


Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Sep 26, 2019

Build failed

@tomtau
Copy link
Copy Markdown
Contributor Author

tomtau commented Sep 26, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 26, 2019
422: Problem: duplicate code between tx-validation and tx-query enclaves r=tomtau a=tomtau

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query


425: Bump kvdb-memorydb from 0.1.0 to 0.1.2 r=tomtau a=dependabot-preview[bot]

Bumps [kvdb-memorydb](https://github.com/paritytech/parity-common) from 0.1.0 to 0.1.2.
<details>
<summary>Commits</summary>

- [`28781a0`](paritytech/parity-common@28781a0) Bump parking_lot version ([#227](https://github-redirect.dependabot.com/paritytech/parity-common/issues/227))
- See full diff in [compare view](paritytech/parity-common@kvdb-web-v0.1.0...kvdb-memorydb-v0.1.2)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=kvdb-memorydb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.2)](https://dependabot.com/compatibility-score.html?dependency-name=kvdb-memorydb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.2)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Sep 27, 2019

Build failed (retrying...)

bors bot added a commit that referenced this pull request Sep 27, 2019
422: Problem: duplicate code between tx-validation and tx-query enclaves r=tomtau a=tomtau

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query


Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Sep 27, 2019

Build failed

@tomtau
Copy link
Copy Markdown
Contributor Author

tomtau commented Sep 27, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 27, 2019
422: Problem: duplicate code between tx-validation and tx-query enclaves r=tomtau a=tomtau

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query


425: Bump kvdb-memorydb from 0.1.0 to 0.1.2 r=tomtau a=dependabot-preview[bot]

Bumps [kvdb-memorydb](https://github.com/paritytech/parity-common) from 0.1.0 to 0.1.2.
<details>
<summary>Commits</summary>

- [`28781a0`](paritytech/parity-common@28781a0) Bump parking_lot version ([#227](https://github-redirect.dependabot.com/paritytech/parity-common/issues/227))
- See full diff in [compare view](paritytech/parity-common@kvdb-web-v0.1.0...kvdb-memorydb-v0.1.2)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=kvdb-memorydb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.2)](https://dependabot.com/compatibility-score.html?dependency-name=kvdb-memorydb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.2)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@tomtau
Copy link
Copy Markdown
Contributor Author

tomtau commented Sep 27, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 27, 2019
422: Problem: duplicate code between tx-validation and tx-query enclaves r=tomtau a=tomtau

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query


425: Bump kvdb-memorydb from 0.1.0 to 0.1.2 r=tomtau a=dependabot-preview[bot]

Bumps [kvdb-memorydb](https://github.com/paritytech/parity-common) from 0.1.0 to 0.1.2.
<details>
<summary>Commits</summary>

- [`28781a0`](paritytech/parity-common@28781a0) Bump parking_lot version ([#227](https://github-redirect.dependabot.com/paritytech/parity-common/issues/227))
- See full diff in [compare view](paritytech/parity-common@kvdb-web-v0.1.0...kvdb-memorydb-v0.1.2)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=kvdb-memorydb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.2)](https://dependabot.com/compatibility-score.html?dependency-name=kvdb-memorydb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.2)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

429: Problem: no test of prefix merkle trie determinism r=tomtau a=tomtau

Solution: added a basic quickcheck property to check trie root after insertions in different order

Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@tomtau
Copy link
Copy Markdown
Contributor Author

tomtau commented Sep 27, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 27, 2019
422: Problem: duplicate code between tx-validation and tx-query enclaves r=tomtau a=tomtau

Solution: extracted out the common unsealing code into a library
shared between tx-validation and tx-query


425: Bump kvdb-memorydb from 0.1.0 to 0.1.2 r=tomtau a=dependabot-preview[bot]

Bumps [kvdb-memorydb](https://github.com/paritytech/parity-common) from 0.1.0 to 0.1.2.
<details>
<summary>Commits</summary>

- [`28781a0`](paritytech/parity-common@28781a0) Bump parking_lot version ([#227](https://github-redirect.dependabot.com/paritytech/parity-common/issues/227))
- See full diff in [compare view](paritytech/parity-common@kvdb-web-v0.1.0...kvdb-memorydb-v0.1.2)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=kvdb-memorydb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.2)](https://dependabot.com/compatibility-score.html?dependency-name=kvdb-memorydb&package-manager=cargo&previous-version=0.1.0&new-version=0.1.2)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

426: Bump sgx_tstd from `5c20ac3` to `bcb3c7a` r=tomtau a=dependabot-preview[bot]

Bumps [sgx_tstd](https://github.com/baidu/rust-sgx-sdk) from `5c20ac3` to `bcb3c7a`.
<details>
<summary>Commits</summary>

- [`bcb3c7a`](apache/teaclave-sgx-sdk@bcb3c7a) Bug fix on urts/ustdc
- See full diff in [compare view](apache/teaclave-sgx-sdk@5c20ac3...bcb3c7a)
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@bors bors bot merged commit 2c3524d into crypto-com:master Sep 27, 2019
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Sep 27, 2019

Build succeeded

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants