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

Add signature verification endpoints #209

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

itsyaasir
Copy link
Contributor

Issue ticket

Issue ticket link: <>

Checklist before requesting a review

Code conventions

  • I have performed a self-review of my code
  • Every new function is documented
  • Object names are auto explicative

Security

  • The PR does not break APIs backward compatibility
  • The PR does not break the stable storage backward compatibility

Testing

  • Every function is properly unit tested
  • I have added integration tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • IC endpoints are always tested through the canister_call! macro

@itsyaasir itsyaasir force-pushed the add-signature-verification branch from fd96ce4 to 4b6ae7a Compare November 26, 2024 11:14
@itsyaasir itsyaasir force-pushed the add-signature-verification branch from 55159ac to 17646bb Compare November 26, 2024 11:17
@itsyaasir itsyaasir self-assigned this Nov 26, 2024
src/did/src/http.rs Outdated Show resolved Hide resolved
src/did/src/http.rs Show resolved Hide resolved
src/did/src/permission.rs Outdated Show resolved Hide resolved
src/did/src/init.rs Outdated Show resolved Hide resolved
src/did/src/init.rs Outdated Show resolved Hide resolved
@@ -844,4 +844,14 @@ impl<C: CanisterClient> EvmCanisterClient<C> {
) -> CanisterClientResult<Result<()>> {
self.client.update("revert_to_block", (args,)).await
}

/// Receive a batch of Transactions and append them to the blockchain.
pub async fn receive_transactions_unchecked(
Copy link
Contributor

Choose a reason for hiding this comment

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

This is to send, not to receive

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is to recieve transactions tho

Copy link
Contributor

Choose a reason for hiding this comment

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

No, the client sends transactions, for example, the Ethereum endpoint to send a TX is indeed called SENDRawTransaction. If you don't like send, you can find a synonym like push or add but not receive

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.

4 participants