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

Be generic over account and block number #47

Merged
merged 8 commits into from
Sep 6, 2023
Merged

Be generic over account and block number #47

merged 8 commits into from
Sep 6, 2023

Conversation

pmikolajczyk41
Copy link
Member

In order to integrate contracts-node-runtime to drink! (#46) we have to make Runtime trait generic over AccountId and BlockNumber. Unfortunately, we cannot integrate it yet due to the dependency conflict (to be resolved hopefully soon).

Additionally, we pin parity-scale-codec-derive and parity-scale-codec to 3.6.5, because updating to the recent 3.6.6 breaks build...

There are also some irrelevant changes from formatter (apparently it is not run in CI)

Copy link

@kostekIV kostekIV left a comment

Choose a reason for hiding this comment

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

just nits, lgtm

drink/src/chain_api.rs Outdated Show resolved Hide resolved
drink/src/chain_api.rs Outdated Show resolved Hide resolved
drink/src/chain_api.rs Outdated Show resolved Hide resolved
drink/src/runtime/mod.rs Outdated Show resolved Hide resolved
drink-cli/src/app_state/mod.rs Outdated Show resolved Hide resolved
@pmikolajczyk41 pmikolajczyk41 merged commit 92fb0dd into main Sep 6, 2023
1 check passed
@pmikolajczyk41 pmikolajczyk41 deleted the genericer branch September 6, 2023 18:50
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.

2 participants