-
Notifications
You must be signed in to change notification settings - Fork 13
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
project configs #233
Merged
Merged
project configs #233
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
# Conflicts: # pallets/briefs/src/benchmarking.rs # pallets/crowdfunding/src/benchmarking.rs # pallets/proposals/src/tests.rs # runtime/integration-tests/src/constants.rs # runtime/integration-tests/src/xcm_transfers.rs
…ject-voting-data-api
…t-config Fix as much as i can, all tests run
samelamin
force-pushed
the
only-project-config
branch
2 times, most recently
from
November 24, 2023 14:32
abf4775
to
71b03fd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
supersedes: old pr.
High level change log
refund_locations
,FundingPath
,Jury
andrefunded_funds
to Project.FundingType
.FundingPath
Is used as a indicator of where the funds are coming from the two avaliable types so far areTakeFromReserved
andWaitForFunding
. This allows us to specify logic for any kind of funding instead of restricting ourselfs by theFundingType
Jury
Is the key for allowing refunds to take place "fairly" (can be improved) the jury is responsible for voting on disputes, it is set on instantiation of aProject
generally in another pallet.FundingType
pallet-proposals
bar a migration. This means that apis will break on this upgrade. There is a new extrinsic calledraise_dispute
which then is voted upon usingpallet-disputes.
Once this passes (or fails) the result is returned back topallet-proposals
which allows the funding party to call for a refund using therefund
extrinsic.TransferStatus
field on each milestone which has the available typesRefunded
andWithdrawn
, it also conatins theBlockNumber
this happened on.pallet-proposals
tests. Due to the removal ofFundingType
and introduction ofFundingPath
a major refactor was required.pallet-proposals
implementation. This has much room for improvement.Locality<AccountId>
type so we can easily unify refunds inrefund_locations
pallet-disputes
has been implemented into the runtime and linked up withpallet-proposals
this implementation was dependant on theJury
changes,fellowship-pallet
etc.PointerBasedJurySelector
type see Tests forPointerBasedJurySelector
#276.Extrinsic changes
Removed
raise_vote_of_no_confidence
vote_vote_of_no_confidence_round
finalise_vote_of_no_confidence
thanks @mshankarrao
Added
Migrations
pallet_proposals::MigrateToV7
pallet_fellowship::MigrateInitial
Api changes
With the removal of the no confidence logic one needs to navigate the new
pallet-dispute
extrinsic. Unfortunately this is a massively breaking change and may require you to restructure your api logic so apologies in advance.Any questions just drop me a message and we can get on a call.