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

wallet: add relayer fee payment #123

Closed
wants to merge 16 commits into from
Closed

Conversation

marino39
Copy link
Contributor

No description provided.

marino39 and others added 15 commits August 8, 2023 12:25
* Fix: AuxData has outdated message in case if one of the signers is sequence.Wallet

* Fix: Wallet.Deploy not working for v1 / sequence.Wallet as a signer no type in signature

* Fix: testUtil.MustFundAddress gas limit too low for some smart contract wallets

* Fix: SigningService uses Sign instead of SignWith that's allows to select correct signer(especially important in case of guard Sequence v2)

* Fix: guard signature validation problem

* Fix: AuxData.Sig to contain full signing chain

* Wallet add Sequence Sessions

* Fix: Wallet.SignDigest panic

* Fix: v2 effective weight 0 when recovering dynamic signature

* Wallet use Wallet.buildSignature

* core: v2 restore effective weight

* Wallet.Deploy gaslimit to be set only for v1
* core.SigningOrchestrator race fix attempt

* signing-service: SignContext

* guard: SignContext

* Wallet return error on signer fail

* Remove AuxData

* Restore AuxData - it needs to stay for transitory period

* Fix: SigningOrchestrator race 2

* Fix: SigningOrchestrator no signature for not first

* Fix: Wallet.SignDigest inner build signature

* Fix: Wallet.SignDigest inner build signature

* Fix: GuardSigningService not first

* GuardSigningService unit tests

* Use v0.10.0 webrpc generated signing-service api

* Wallet.SignMessage: SignContext.WalletAddress not set

* Wallet add unit test testing SignContext expectations
* Use ethkit with fixed receipt listener

* Use ethkit with fixed receipt listener - versioned
* use [email protected]

* Implement waas intents

* Add ParseHexOrDec

* Implement canSign interface on sequence wallets

* Use digest signer if possible

* Fix try cast different generics

* Skip address from confing on defined addr

* check packet code fix

* Add marshal json

* Use canonical json

* Add validate session packes

* Add delayed abi primitives

* Handle delayedEncode intent

* Update ValidateSessionPacket fields

* Update ValidateSessionPacket fields - make RedirectURL optional

* Add fields to intents

* Nonce defined by identifier

* Use BasePacketForWallet on ValidateSessionPacket

* Add get session packet

* Add send transaction types

* Expose relayer simulate

* Add FinishValidateSessionPacket to intents

* Add Intent.IsValid & BasePacket.IsValid

* Resolve cyclic dependency in intents package

* Intent.IsValid special-case openSession as it does not need to be signed

---------

Co-authored-by: Peter Kieltyka <[email protected]>
Co-authored-by: Agusx1211 <[email protected]>
* Remove signing-service - no longer usable

* Remove signing-service references

* Remove signing-service tests
* Add support for Intent sessions built on secp256r1

* Add support for Intent sessions built on secp256r1 - remove prefix

* Add support for Intent sessions built on secp256r1 - remove prefix 2

* Add support for Intent sessions built on secp256r1 - add prefix again

* Add more verbose errors in intent validation

* debug - 1

* debug - 2

* debug - 3

* debug - 4

* debug - 5

* remove debugs

* Make distinct split between SessionId and SessionVerifier(the value used for signature verification)

* Make distinct split between SessionId and SessionVerifier(the value used for signature verification) - 2

* Intent signers extraction impr

* More refactor session to sessionId

* Add type for IntentVerifierGetter

* Add packet resp OpenSessionPacketResponse

* Add packet resp OpenSessionPacketResponse 2

* Add packet resp OpenSessionPacketResponse 3

* Return to having sessionId = pubKey/sessAdddr

* Fix: openSession

* Fix: p256r1 signature check

* remove: OpenSessionPacketResponse

* Fix: intent test

* refactor Intent.isValidSignature

* refactor Intent.isValidSignature - 2

* waas new intent (#115)

* new intent struct

* new intent struct generate typescript

* intent session signers

* IntentTyped.ToIntent -> IntentTyped.AsIntent

* fix: typo

* Intent.isValidSignature to return error

* applied review remarks

* intent data validators support

* update intent.ridl

* add transaction extensions

* sign message ext

* rename

* fix: tests

* fix: the transaction structs, rem packet

* move to intents & add responses stubs

* intent.ridl update

* Add missing delayedEncode transaction type

* intent.ridl update

* intent.ridl update

* intent.ridl update

* intent.ridl update

* fix sig verification

* revert: fix sig verification

* intents: add comment & IntentTyped.AsIntent to IntentTyped.ToIntent

---------

Co-authored-by: Patryk Kalinowski <[email protected]>

* intents: apply review remarks

---------

Co-authored-by: Patryk Kalinowski <[email protected]>
* add IsEIP191Message & MessageToEIP191

* move to separate files

* check full prefix
Base automatically changed from v2 to master February 26, 2024 16:43
@marino39 marino39 closed this Feb 27, 2024
@marino39 marino39 deleted the wallet_relayer_fee_payment branch February 27, 2024 09:10
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.

2 participants