-
Notifications
You must be signed in to change notification settings - Fork 23
ETCM-12351 dolos auth selection data source #1064
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
Conversation
5086ea3 to
119950d
Compare
119950d to
175175c
Compare
ccf95d0 to
17835d2
Compare
|
Merged with #1075 |
|
|
||
| fn format_asset_id(asset_id: &AssetId) -> String { | ||
| let AssetId { policy_id, asset_name } = asset_id; | ||
| format!("{}{}", &policy_id.to_hex_string()[2..], &asset_name.to_hex_string()[2..]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really concat without a separator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this has been tested against a running Dolos instance too. (docs)
| _reference_timestamp: sp_timestamp::Timestamp, | ||
| ) -> Result<Option<MainchainBlock>> { | ||
| Err("not implemented".into()) | ||
| Ok(Some(from_block_content(self.client.blocks_latest().await?)?)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will fail when syncing to existing network, wouldn't it?
Description
This PR implements the following using Dolos:
It also fixes some bugs in the miniBF client.
Checklist
changelog.mdfor affected crate