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

chore: use txHash instead of signBytes #32

Merged
merged 1 commit into from
Nov 2, 2020
Merged

chore: use txHash instead of signBytes #32

merged 1 commit into from
Nov 2, 2020

Conversation

jinsan-line
Copy link
Contributor

  • GetSignBytes() is much more expensive than sha256

Description

use txHash instead of signBytes because signBytes is much more expensive than sha256

Motivation and context

How has this been tested?

Checklist:

  • I followed the contributing guidelines.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

* `GetSignBytes()` is much more expensive than `sha256`
@jinsan-line jinsan-line requested review from kfangw and wetcod November 2, 2020 12:14
@jinsan-line jinsan-line self-assigned this Nov 2, 2020
@jinsan-line jinsan-line merged commit 413d85d into Finschia:perf Nov 2, 2020
@jinsan-line jinsan-line deleted the perf branch November 2, 2020 12:21
egonspace pushed a commit that referenced this pull request Mar 28, 2021
* fix wasmKeeper of x/wasm/linkwasmd for #5

* modify wasm keeper

* update Makefile to refer source files of linkwasmd/cli

* add a test using token module from wasm contract

* execute go fmt

* add a test creating a collection

* modify to use json.Marshal to make message for executing contracts
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.

1 participant