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

Updated scrypto dependency to latest version #117

Merged
merged 21 commits into from
May 1, 2024

Conversation

mstrug-rdx
Copy link
Contributor

@mstrug-rdx mstrug-rdx commented Apr 26, 2024

Summary

Update Scrypto dependency to latest version required for:

Special attention to: Locker blueprint addition and VersionedSchema changes.

@mstrug-rdx mstrug-rdx changed the base branch from main to develop April 26, 2024 12:34
@mstrug-rdx mstrug-rdx marked this pull request as ready for review April 26, 2024 13:30
@@ -1056,24 +1055,24 @@ macro_rules! manifest_args {
($($args: expr),*$(,)?) => {{
use ::sbor::Encoder;
let mut buf = ::sbor::rust::vec::Vec::new();
let mut encoder = radix_engine_common::data::manifest::ManifestEncoder::new(
let mut encoder = radix_common::data::manifest::ManifestEncoder::new(
Copy link
Member

Choose a reason for hiding this comment

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

Can you please add support for the account locker methods to the builder? Examples of how we've done this in the past is at the end of the file.

Please let me know if you think that this should be a separate PR to get this in quicker for Lukasz.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added all of the AccountLocker blueprint functions, but there is an issue with account_locker_airdrop in Swift error: Address does not conform to protocol Hashable

Copy link
Member

Choose a reason for hiding this comment

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

I've solved this issue by making the HashMap's key a string. Will need to look into getting a Hashable address soon.

@0xOmarA 0xOmarA merged commit eeb10d3 into develop May 1, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants