File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -417,6 +417,13 @@ test-lookup-address2() {
417417}
418418test-lookup-address2
419419
420+ # SETH 4BYTE TESTS
421+ # seth 4byte
422+ test-4byte () {
423+ [[ $( seth 4byte a9059cbb | tail -n 1) = " transfer(address,uint256)" ]] || error
424+ }
425+ test-4byte
426+
420427# SETH FIXED POINT TESTS
421428# seth --from-fix
422429test-from-fix1 () {
Original file line number Diff line number Diff line change 1313if [[ $SETH_VERBOSE ]]; then
1414 curl -s " https://www.4byte.directory/api/v1/signatures/?hex_signature=${1: 0: 10} " | jq .
1515else
16- curl -s " https://www.4byte.directory/api/v1/signatures/?hex_signature=${1: 0: 10} " | jq ' .results[] | .text_signature'
16+ curl -s " https://www.4byte.directory/api/v1/signatures/?hex_signature=${1: 0: 10} " | jq -r ' .results[] | .text_signature'
1717fi
You can’t perform that action at this time.
0 commit comments