Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

@kunxian-xia
Copy link

Description

This PR aims to refactor how the default sign data is created. Previously, the default sign data is generated through
signing the msg(b"1") using 0x01 as the private key and 0x01 as the randomness k. This is different than the sign data of the padding tx that we use in the tx circuit and pi circuit. Therefore, this sign data is kind of out dated.

Type of change

  • Refactor/Cleanup

Contents

  • The default sign data is updated as the sign data of default padding tx(a pre-eip155 tx signed by a dummy private key 0x01)

@lispc
Copy link

lispc commented Jul 6, 2023

@kunxian-xia can you fix the CI here?

@lispc
Copy link

lispc commented Aug 4, 2023

@kunxian-xia what is the status of this pr?

@kunxian-xia
Copy link
Author

Sorry, I thought this has been merged! I will fix the CI errors asap.

@kunxian-xia
Copy link
Author

@lispc ready for merge.

@lispc lispc merged commit 3d6e79a into develop Sep 2, 2023
@lispc lispc deleted the ref/sign_data branch September 2, 2023 02:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants