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

Signers Ledger Object wrapper #22

Open
wants to merge 6 commits into
base: wrapper
Choose a base branch
from

Conversation

ckeshava
Copy link

This PR introduces wrapper for Multi-Signer List Ledger Object.

High Level Overview of Change

Context of Change

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Release

@@ -182,7 +182,7 @@ removeSignersFromLedger(
ApplyView& view,
AccountRootKeylet const& accountKeylet,
Keylet const& ownerDirKeylet,
Keylet const& signerListKeylet,
KeyletBase const& signerListKeylet,
Copy link
Author

Choose a reason for hiding this comment

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

I think I can specialize this parameter to SignersKeylet. Should I do that or leave it as is? Since this function is specific to signers, I don't think there is any harm in narrowing it's scope.

ckeshava added 4 commits May 30, 2023 12:55
Narrow down the scope of type in function signature of removeSignersFromLedger
replace auto keyword with explicit type information
rename variables to indicate difference between SLE pointers and LederEntry Wrappers
Fix errors in access to getFieldU32, isFieldPresent functions in Transactors
format the code according to clang-format
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.

1 participant