add datastore handling function for detecting deploysc op #4210
Annotations
10 errors and 3 warnings
lint:
pkg/onchain/datastore_test.go#L8
Function 'TestIsContractDeployDatastore' is too long (73 > 60) (funlen)
|
lint:
pkg/onchain/datastore.go#L58
Comment should end in a period (godot)
|
lint:
pkg/onchain/datastore.go#L63
Comment should end in a period (godot)
|
lint:
pkg/onchain/datastore.go#L71
Comment should end in a period (godot)
|
lint:
pkg/onchain/datastore.go#L79
line is 148 characters (lll)
|
lint:
pkg/onchain/datastore_test.go#L114
line is 124 characters (lll)
|
lint:
pkg/onchain/datastore_test.go#L120
line is 123 characters (lll)
|
lint:
pkg/node/sendoperation/executesc/executesc.go#L172
only one cuddle assignment allowed before if statement (wsl)
|
lint:
pkg/onchain/datastore.go#L67
append only allowed to cuddle with appended value (wsl)
|
lint:
pkg/onchain/datastore.go#L68
return statements should not be cuddled if block has more than two lines (wsl)
|
installer-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
pkg/onchain/datastore.go#L142
unexported-return: exported func DeSerializeDatastore returns unexported type []onchain.datastoreEntry, which can be annoying to use (revive)
|