good morning!!!!

Skip to content
Snippets Groups Projects
Commit 5421a08d authored by RJ Catalano's avatar RJ Catalano Committed by Péter Szilágyi
Browse files

accounts/abi: reorganizing package with small fixes (#14610)


* accounts/abi: reorganizing package and some notes and a quick correction of name.

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

get rid of some imports

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: move file names

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: fix boolean decode function

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: fix for the array set and for creating a bool

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: be very very very correct

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: fix up error message and variable names

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: take out unnecessary argument in pack method

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: add bool unpack test and add a panic to readBool function

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: fix panic message

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: change from panic to basic error

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: fix nil to false

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: fill out type regex tests and fill with the correct type for integers

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: move packNumbers into pack.go.

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: separation of the testing suite into appropriately named files.

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* account/abi: change to hex string tests.

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* account/abi: fix up rest of tests to hex

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: declare bool at the package level

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: use errors package in the error file.

Signed-off-by: default avatarRJ Catalano <rj@monax.io>

* accounts/abi: fix ugly hack and fix error type declaration.

Signed-off-by: default avatarRJ Catalano <rj@monax.io>
parent cf611c50
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment