Skip to content

Transaction signing checks#382

Merged
devbugging merged 12 commits into
masterfrom
bugfix/signing-error
Nov 9, 2021
Merged

Transaction signing checks#382
devbugging merged 12 commits into
masterfrom
bugfix/signing-error

Conversation

@devbugging
Copy link
Copy Markdown
Contributor

Closes #380

Description

Implement more strict checks when doing transaction signing:

  • check for transaction authorizer mismatch
  • check for signer proposer mismatch

For contributor use:

  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@devbugging devbugging added the Improvement Technical work without new features, refactoring, improving tests label Sep 3, 2021
@devbugging devbugging self-assigned this Sep 3, 2021
Copy link
Copy Markdown
Contributor

@janezpodhostnik janezpodhostnik left a comment

Choose a reason for hiding this comment

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

Nice tests

Gregor Gololicic added 6 commits November 9, 2021 16:25
# Conflicts:
#	pkg/flowkit/services/transactions_test.go
# Conflicts:
#	go.mod
#	go.sum
#	pkg/flowkit/events_test.go
#	pkg/flowkit/services/scripts_test.go
#	pkg/flowkit/services/transactions_test.go
#	pkg/flowkit/transaction.go
@devbugging devbugging merged commit e9359d3 into master Nov 9, 2021
@devbugging devbugging deleted the bugfix/signing-error branch November 9, 2021 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Technical work without new features, refactoring, improving tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Error Handling when transaction signer does not match authorizer

2 participants