Skip to content

Dependency on Moonbeam crates #1118

Discussion options

You must be logged in to vote

Update

I went on re-exploring the cargo patch option and learned a few interesting things.
First, it possible to use it to both state that we want to only use a specific revision of a crate within a specific source as well as to tell cargo to use a specific revision from a different source.

So for example we can have both of these statements:

[patch."https://github.com/paritytech/substrate"]
frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "cc370aa61e15c18d23a2f686b812fd576a630afe" }

[patch."https://github.com/PureStake/substrate"]
frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "cc370aa61e15c18d23a2f686b812fd576a630afe" }

The…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by NunoAlexandre
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant