-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: break up hashing.go to reduce dependencies. According to Go…
… practice, too much DRY leads to too many dependencies, thus some duplication is allowed. leftPadByteSlice, buildOracleQueryID, buildContractID moved to transactions.go Namehash moved to helpers.go randomBytes duplicated in generateCommitmentID and moved to keystore.go:KeystoreSeal uuidV4 moved to keystore.go generateCommitmentID/computeCommitmentID moved to helpers.go buildRLPMessage, buildIDTag, readIDTag moved to transactions.go
- Loading branch information
1 parent
caf7069
commit 5188c43
Showing
4 changed files
with
174 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.