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

Consensus key operations #255

Merged
merged 2 commits into from
Oct 31, 2022
Merged

Consensus key operations #255

merged 2 commits into from
Oct 31, 2022

Conversation

AbineshECAD
Copy link
Contributor

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 14, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3404737
Status: ✅  Deploy successful!
Preview URL: https://66398d86.signatory.pages.dev
Branch Preview URL: https://consensus-key.signatory.pages.dev

View logs

@AbineshECAD AbineshECAD marked this pull request as ready for review October 18, 2022 08:12
@e-asphyx e-asphyx self-requested a review October 18, 2022 14:50
@AbineshECAD
Copy link
Contributor Author

This log is for delegate.

INFO[0724] GET /authorized_keys                          duration=2.57753ms hostname="localhost:6732" method=GET path=/authorized_keys start_time="2022-10-25T13:11:48+05:30" status=200
INFO[0724] Requesting signing operation                  ops="map[delegation:1 reveal:1 update_consensus_key:1]" ops_total=3 pkh=tz3ixovPEjGTUpYRCSPPj52ANQ7dptRSsqCJ request=generic vault=File vault_name=local_file_keys
INFO[0724] About to sign raw bytes                       ops="map[delegation:1 reveal:1 update_consensus_key:1]" ops_total=3 pkh=tz3ixovPEjGTUpYRCSPPj52ANQ7dptRSsqCJ raw=039f5aea97eb3f7f60c3b90e324e277662388995c1bbdd123dfceb290f7f8be2046b02f846b9ed8834c257a6f0c3cebeab4f58508b20ade60203e807000202dbc1715493e74def32a7d219df06accd6ca75d775d4177dd09471f9a9a2302826e02f846b9ed8834c257a6f0c3cebeab4f58508b20adfa0104e80700ff02f846b9ed8834c257a6f0c3cebeab4f58508b20ad7202f846b9ed8834c257a6f0c3cebeab4f58508b20ad900205cc08000202d56e7b5258aa58eeb61701476c46863e2f9f31b4b467ca3175fb2f1fed6b4106 request=generic vault=File vault_name=local_file_keys
INFO[0724] Signed generic successfully                   ops="map[delegation:1 reveal:1 update_consensus_key:1]" ops_total=3 pkh=tz3ixovPEjGTUpYRCSPPj52ANQ7dptRSsqCJ request=generic vault=File vault_name=local_file_keys
INFO[0724] POST /keys/tz3ixovPEjGTUpYRCSPPj52ANQ7dptRSsqCJ  duration=6.609435ms hostname="localhost:6732" method=POST path=/keys/tz3ixovPEjGTUpYRCSPPj52ANQ7dptRSsqCJ start_time="2022-10-25T13:11:48+05:30" status=200

And this is drain operation.

INFO[25808] GET /authorized_keys                          duration="19.31µs" hostname="localhost:6732" method=GET path=/authorized_keys start_time="2022-10-25T20:55:57+05:30" status=200
INFO[25808] Requesting signing operation                  ops="map[drain_delegate:1]" ops_total=1 pkh=tz3SbqacJeQs2PSkFk8mp7Q48t54c1cStfwW request=generic vault=File vault_name=local_file_keys
INFO[25808] About to sign raw bytes                       ops="map[drain_delegate:1]" ops_total=1 pkh=tz3SbqacJeQs2PSkFk8mp7Q48t54c1cStfwW raw=03ce3ec58b52ade2bae52328aa35d02d76dbf9b1ebff2a5640b5364dae8c485e20090244cd5d0b4cb5a18d926b25bc37e58105e6786f0802f846b9ed8834c257a6f0c3cebeab4f58508b20ad023ce53164a18f16be8d21ab6e454980d8dc439de1 request=generic vault=File vault_name=local_file_keys
INFO[25808] Signed generic successfully                   ops="map[drain_delegate:1]" ops_total=1 pkh=tz3SbqacJeQs2PSkFk8mp7Q48t54c1cStfwW request=generic vault=File vault_name=local_file_keys
INFO[25808] POST /keys/tz3SbqacJeQs2PSkFk8mp7Q48t54c1cStfwW  duration=1.366479ms hostname="localhost:6732" method=POST path=/keys/tz3SbqacJeQs2PSkFk8mp7Q48t54c1cStfwW start_time="2022-10-25T20:55:57+05:30" status=200

@danielelisi danielelisi linked an issue Oct 28, 2022 that may be closed by this pull request
Copy link
Contributor

@danielelisi danielelisi left a comment

Choose a reason for hiding this comment

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

Tested the new operation manually and confirmed Signatory behaves as expected

@danielelisi danielelisi merged commit dd13b69 into main Oct 31, 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
Development

Successfully merging this pull request may close these issues.

Lima Protocol operations support
3 participants