Skip to content
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

Contracts V3 #50

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Conversation

claravanstaden
Copy link

Snowbridge companion: Snowfork/snowbridge#882

@@ -386,7 +384,7 @@ impl ExportXcm for BridgeHubRococoOrBridgeHubWococoSwitchExporter {
destination,
message,
)
.map(|result| ((EthereumNetwork::get(), result.0), result.1))
.map(|result| ((EthereumNetwork::get(), (result.0, XcmHash::default())), result.1))
Copy link
Author

Choose a reason for hiding this comment

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

Because SnowbridgeExporter::validate no longer returns the XcmHash. Not sure what the solution is here, I think @vgeddes mentioned in a newer version of Substrate the other validators also do not return the XcmHash?

Copy link

Choose a reason for hiding this comment

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

Yeah returning XcmHash::default is fine here.

When we upgrade to the latest cumulus it will all be fine.

@vgeddes
Copy link

vgeddes commented Jul 25, 2023

@claravanstaden Actually, you should merge this PR into the proxy-contracts branch of cumulus. That's the branch of the cumulus submodule in the proxy-contracts branch of the monorepo.

@claravanstaden claravanstaden changed the base branch from snowbridge to proxy-contracts July 25, 2023 08:38
@claravanstaden claravanstaden force-pushed the clara/proxy-contracts-fix-cumulus branch from 6ae081f to 85da228 Compare July 25, 2023 08:47
@claravanstaden claravanstaden marked this pull request as ready for review July 25, 2023 08:49
@claravanstaden claravanstaden merged commit dc8f425 into proxy-contracts Jul 25, 2023
0 of 6 checks passed
@claravanstaden claravanstaden deleted the clara/proxy-contracts-fix-cumulus branch July 25, 2023 09:28
vgeddes added a commit that referenced this pull request Jul 30, 2023
* Fix cumulus builds

* Update cumulus (#46)

* Create Agent (#47)

* add hashed description

* use existing account

* add call filter

* Create Agent (#48)

* initial

* update cargo lock

* handle local accounts and pallets

* Add set_gateway to safe call filter (#49)

* Fix cumulus bridgehub runtime for proxy contracts. (#50)

Co-authored-by: claravanstaden <Cats 4 life!>

* Update inbound queue benchmarks. (#51)

* Update inbound queue benchmarks.

* Update inbound queue benchmarks.

---------

Co-authored-by: claravanstaden <Cats 4 life!>

* Asset transfer (#52)

* update registry to gateway

* added agent config

* ws

* increase message size

---------

Co-authored-by: David Dunn <26876072+doubledup@users.noreply.github.com>
Co-authored-by: Ron <yrong1997@gmail.com>
Co-authored-by: Alistair Singh <alistair.singh7@gmail.com>
Co-authored-by: Clara van Staden <claravanstaden64@gmail.com>
alistair-singh added a commit that referenced this pull request Jul 30, 2023
* Fix cumulus builds

* Update cumulus (#46)

* Create Agent (#47)

* add hashed description

* use existing account

* add call filter

* Create Agent (#48)

* initial

* update cargo lock

* handle local accounts and pallets

* Add set_gateway to safe call filter (#49)

* Fix cumulus bridgehub runtime for proxy contracts. (#50)

Co-authored-by: claravanstaden <Cats 4 life!>

* Update inbound queue benchmarks. (#51)

* Update inbound queue benchmarks.

* Update inbound queue benchmarks.

---------

Co-authored-by: claravanstaden <Cats 4 life!>

* Asset transfer (#52)

* update registry to gateway

* added agent config

* ws

* increase message size

* added weights

---------

Co-authored-by: David Dunn <26876072+doubledup@users.noreply.github.com>
Co-authored-by: Ron <yrong1997@gmail.com>
Co-authored-by: Clara van Staden <claravanstaden64@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants