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

Source Account Auth: Plumb account invoker through SDK #670

Merged
merged 16 commits into from
Sep 26, 2022
Merged

Conversation

leighmcculloch
Copy link
Member

What

Add Env::invoker that exposes the invoking account or contract.

Why

Close #661

@leighmcculloch leighmcculloch changed the base branch from main to macropath September 24, 2022 05:05
@leighmcculloch leighmcculloch marked this pull request as ready for review September 24, 2022 05:24
@leighmcculloch leighmcculloch marked this pull request as draft September 24, 2022 05:25
Base automatically changed from macropath to main September 24, 2022 05:25
@leighmcculloch leighmcculloch changed the title Plumb account invoker through SDK Source Account Auth: Plumb account invoker through SDK Sep 24, 2022
self.0.to_object()
}
}

/// Account references a Stellar account and provides access to information
/// about the account, such as its thresholds and signers.
#[derive(Clone)]
Copy link
Member Author

Choose a reason for hiding this comment

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

Note that the Account type, and its functions are still accessed via a BytesN<32>. That will be changed to use the new AccountId in stellar/rs-soroban-env#477.

@leighmcculloch leighmcculloch marked this pull request as ready for review September 26, 2022 21:05
@leighmcculloch leighmcculloch enabled auto-merge (squash) September 26, 2022 21:14
@leighmcculloch leighmcculloch merged commit ad95e20 into main Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant