Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Return a Result in invert_location #3730

Merged
merged 3 commits into from
Aug 28, 2021
Merged

Conversation

KiChjang
Copy link
Contributor

@KiChjang KiChjang commented Aug 26, 2021

Fixes https://github.com/paritytech/srlabs_findings/issues/105.

Removes an unproven assertion in invert_location and instead make it fallible and return a Result.

@KiChjang KiChjang added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C3-medium PR touches the given topic and has a medium impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Aug 26, 2021
@KiChjang KiChjang added C1-low PR touches the given topic and has a low impact on builders. and removed C3-medium PR touches the given topic and has a medium impact on builders. labels Aug 26, 2021
Copy link
Member

@shawntabrizi shawntabrizi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@shawntabrizi shawntabrizi added this to the v0.9.10 milestone Aug 27, 2021
@gavofyork
Copy link
Member

spelling needs to be fixed.

@gavofyork gavofyork merged commit 54d1cb9 into master Aug 28, 2021
@gavofyork gavofyork deleted the kckyeung/invert-multilocation-fix branch August 28, 2021 00:17
@chevdor chevdor modified the milestones: v0.9.10, v0.9.11 Sep 2, 2021
ordian added a commit that referenced this pull request Sep 2, 2021
* master:
  dependabot: ignore yet another git dep (#3759)
  Bump serde_json from 1.0.66 to 1.0.67 (#3767)
  Bump syn from 1.0.74 to 1.0.75 (#3710)
  Companion for substrate #9371 (#3487)
  Fixes/improvements for disputes (#3753)
  chore: test helper arbitrary ordering for 2 (#3762)
  disputes: fix relay chain selection sanity check (#3750)
  technical committee is using the weight of council, but should have its own generated weight instead (#3511)
  new proxy for auctions, crowdloans, registrar, slots (#3683)
  Bump libc from 0.2.100 to 0.2.101 (#3726)
  Removed unneeded deps (#3658)
  Bump serde from 1.0.127 to 1.0.130 (#3739)
  Companion for Generate storage info for pallet authority_discovery #9428 (#3517)
  Return a Result in invert_location (#3730)
  XCM: Allow reclaim of assets dropped from holding (#3727)
@stze stze added D1-audited 👍 PR contains changes to critical logic that has been properly reviewed and externally audited. and removed D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Sep 28, 2021
gavofyork added a commit that referenced this pull request Oct 27, 2021
* Return a Result in invert_location

* Add invertible to spellcheck dictionary

* Fix Some -> Ok
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D1-audited 👍 PR contains changes to critical logic that has been properly reviewed and externally audited.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants