This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Problem: (CRO-531) Client can generate invalid transactions #582
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Solution: Added basic checks from `chain-tx-validation` in `client-core`
yihuang
approved these changes
Nov 13, 2019
Codecov Report
@@ Coverage Diff @@
## master #582 +/- ##
==========================================
- Coverage 67.97% 67.73% -0.25%
==========================================
Files 124 124
Lines 14722 14785 +63
==========================================
+ Hits 10008 10014 +6
- Misses 4714 4771 +57
|
tomtau
approved these changes
Nov 13, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Merge conflict (retrying...) |
bors bot
added a commit
that referenced
this pull request
Nov 13, 2019
581: Bump sgx_tstd from `f29f4e7` to `2042ce6` r=tomtau a=dependabot-preview[bot] Bumps [sgx_tstd](https://github.com/baidu/rust-sgx-sdk) from `f29f4e7` to `2042ce6`. <details> <summary>Commits</summary> - [`2042ce6`](apache/incubator-teaclave-sgx-sdk@2042ce6) Fix sgx_tstd xargo compile, due to upstream change - See full diff in [compare view](apache/incubator-teaclave-sgx-sdk@f29f4e7...2042ce6) </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) </details> 582: Problem: (CRO-531) Client can generate invalid transactions r=tomtau a=devashishdxt Solution: Added basic checks from `chain-tx-validation` in `client-core` Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Devashish Dixit <devashish@crypto.com>
bors bot
added a commit
that referenced
this pull request
Oct 8, 2020
2271: Bump cbindgen from 0.14.6 to 0.15.0 r=tomtau a=dependabot-preview[bot] Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.14.6 to 0.15.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/eqrion/cbindgen/blob/master/CHANGES">cbindgen's changelog</a>.</em></p> <blockquote> <h2>0.15.0</h2> <pre><code> * Allow customizing mangling of generic parameters in C ([#575](mozilla/cbindgen#575)) * Box<T> simplifies to T* in C (4ce324c) * ManuallyDrop<T> and MaubeUninit<T> simplify to T in C, and are opaque in C++ (0076a17) * C++ supports a derive-ostream annotation to derive serialization of structs, unions and enums ([#582](mozilla/cbindgen#582)) * Large character constants have been fixed on Windows ([#586](mozilla/cbindgen#586)) * Constants are now generated for typedefs, etc ([#589](mozilla/cbindgen#589)) * The `sort_by` configuration option has been made to work for constants ([#587](mozilla/cbindgen#587)) * Default sort order is source order now (sort_by = "None"), and can be changed by the above option ([#587](mozilla/cbindgen#587)) </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/eqrion/cbindgen/commit/83b3be9f884697a51f8717af8b5498866a81e62e"><code>83b3be9</code></a> v0.15.0</li> <li><a href="https://github.com/eqrion/cbindgen/commit/aeb69bcc6941b37a0d0acfa1ed77d4ccdf1cccc9"><code>aeb69bc</code></a> Switch default sorting order for items to "None"</li> <li><a href="https://github.com/eqrion/cbindgen/commit/ea919a4edfdfc62af0f84a3f796a2c072d469e8a"><code>ea919a4</code></a> <code>mem::replace</code> -> <code>mem::take</code></li> <li><a href="https://github.com/eqrion/cbindgen/commit/f3d5a20363be93c4d38324b7b7928db71158c27e"><code>f3d5a20</code></a> Support <code>sort_by</code> for constants</li> <li><a href="https://github.com/eqrion/cbindgen/commit/6439e6df563786d8f834579a00ffd5c418244cd3"><code>6439e6d</code></a> Support constants with arbitrary types</li> <li><a href="https://github.com/eqrion/cbindgen/commit/9669cadf6076df4a77246b9d1dedb5b261cf478a"><code>9669cad</code></a> Rename ARCHITECTURE.md to internals.md in contributing instructions</li> <li><a href="https://github.com/eqrion/cbindgen/commit/56d0799366f58b1fa7c96524da576245b1f0a57d"><code>56d0799</code></a> Use <code>U'...'</code> character literals instead of <code>L'...'</code> character literals</li> <li><a href="https://github.com/eqrion/cbindgen/commit/f4b26fef2a7625cc49915d8f4b620d3365a9feb6"><code>f4b26fe</code></a> Checkout files with LF line endings</li> <li><a href="https://github.com/eqrion/cbindgen/commit/d1d97d44820b406bbeba662c8d5d6ffdd020a6bd"><code>d1d97d4</code></a> enumeration: Only propagate derive_ostream annotation if not present.</li> <li><a href="https://github.com/eqrion/cbindgen/commit/36a3f8ba6e2cda3e224155a7f14754506f006a71"><code>36a3f8b</code></a> enumertion: Add a using declaration rather than qualifying all branches.</li> <li>Additional commits viewable in <a href="https://github.com/eqrion/cbindgen/compare/v0.14.6...v0.15.0">compare view</a></li> </ul> </details> <br /> [](https://dependabot.com/compatibility-score/?dependency-name=cbindgen&package-manager=cargo&previous-version=0.14.6&new-version=0.15.0) 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) </details> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solution: Added basic checks from
chain-tx-validation
inclient-core