Roman Khimov
89ba6bfc43
Merge pull request #1908 from nspcc-dev/codeql-fixes
...
rpc, internal: fix CodeQL int conversions warnings
2021-04-19 12:58:36 +03:00
Anna Shaleva
ae36523a61
rpc, internal: fix CodeQL int conversions warnings
...
```
Incorrect conversion of an integer with architecture-dependent bit
size from to a lower bit size type int32 without an upper bound
check.
```
2021-04-19 11:30:28 +03:00
Roman Khimov
8f14c61c34
Merge pull request #1906 from nspcc-dev/cli/transfer_param
...
cli: allow to pass 'data' for nep17 transfer command
2021-04-19 10:43:42 +03:00
Anna Shaleva
db868f033e
cli: allow to provide data
for nep17 transfer commands
2021-04-19 10:20:29 +03:00
Anna Shaleva
28b74cb647
smartcontract: add ExpandParameterToEmitable method
...
It'll help to convert Parameter to a atandard type which then can be
emitted ass an array item.
2021-04-16 17:30:25 +03:00
Roman Khimov
619c448cdf
Merge pull request #1905 from nspcc-dev/wallet/sign
...
cli: refactor AddressFlag usages
2021-04-16 16:33:18 +03:00
Anna Shaleva
c77997a357
config: enable Notary contract for single unittestnet chain
...
We need this for tests.
2021-04-16 16:22:18 +03:00
Anna Shaleva
f7dcb7ae29
vm: allow emit.Array handle uint256
2021-04-16 16:20:30 +03:00
Anna Shaleva
ced90e0510
cli: use AddressFlag for nep17 import
2021-04-16 15:18:33 +03:00
Anna Shaleva
92c6708fa0
cli: use AddressFlag for import-deployed
2021-04-16 15:15:25 +03:00
Anna Shaleva
1d3a297a6b
rpc: add Data field to NEP17 TransferTarget
...
It's a part of transfer, thus it should be passed along with the other
transfer parameters.
2021-04-16 13:54:23 +03:00
Anna Shaleva
87f950a719
cli: format error message
2021-04-16 12:41:02 +03:00
Anna Shaleva
4edc62148b
cli: use AddressFlag for dump-keys
2021-04-16 12:41:42 +03:00
Anna Shaleva
df24c51262
cli: use AddressFlag for calc-hash
2021-04-16 12:41:28 +03:00
Anna Shaleva
90b054afd0
cli: check address flag is set for validator-related commands
2021-04-16 12:41:02 +03:00
Anna Shaleva
ff2b051646
cli: use AddressFlag for nep17-related commands
2021-04-16 12:41:02 +03:00
Anna Shaleva
2dcc729c47
cli: use AddressFlag for wallet sign
2021-04-16 12:40:01 +03:00
Roman Khimov
4424deeff8
Merge pull request #1904 from nspcc-dev/codeql
...
experimental codeql workflow
2021-04-16 11:09:26 +03:00
Roman Khimov
2bc5f72523
experimental codeql workflow
2021-04-15 17:29:00 +03:00
Roman Khimov
a642bc6bc6
Merge pull request #1902 from nspcc-dev/ignore-nonnumeric-values-in-nep17-transfers
...
core: ignore non-numeric "amounts" in Transfer events
2021-04-12 17:05:13 +03:00
Roman Khimov
508ad51a86
core: ignore non-numeric "amounts" in Transfer events
...
Refs. #1900 .
2021-04-12 15:09:37 +03:00
Roman Khimov
1eebaa8eac
Merge pull request #1899 from nspcc-dev/more-specific-errors-for-sendrawtx
...
rpc/server: be more specific in some sendrawtransaction error cases
2021-04-12 12:17:03 +03:00
Roman Khimov
13619a0e77
rpc/server: improve submitblock and submitnotaryrequest also
2021-04-10 22:47:24 +03:00
Roman Khimov
274f2c0408
rpc/server: be more specific in some sendrawtransaction error cases
...
Refs. #1894 .
2021-04-10 00:31:42 +03:00
Roman Khimov
973ed8c1f6
rpc/server: fix ineffassign warning
2021-04-08 15:52:57 +03:00
Roman Khimov
d3ea720afb
result: gofmt -s
2021-04-08 15:49:14 +03:00
Roman Khimov
4c81f4dbc0
CHANGELOG: release 0.94.1
2021-04-08 15:17:15 +03:00
Roman Khimov
b9fe5d8dae
docs: mention calculatenetworkfee RPC call
2021-04-08 15:17:15 +03:00
Roman Khimov
9948003aef
docs: specify timeout units in example
2021-04-08 15:17:15 +03:00
Roman Khimov
fdb4836f17
Merge pull request #1891 from nspcc-dev/nep11-example
...
examples: add NFT example, fix #1845
2021-04-08 15:16:45 +03:00
Roman Khimov
f21f506493
examples: add NFT example, fix #1845
2021-04-08 12:36:02 +03:00
Roman Khimov
3f9df0862e
Merge pull request #1890 from nspcc-dev/more-documentation
...
More documentation
2021-04-08 12:19:53 +03:00
Roman Khimov
4997849470
docs: add a note on state validation, fix #1847
2021-04-07 21:42:26 +03:00
Roman Khimov
b2ecb10868
docs: add some oracle service doc, fix #1846
2021-04-07 21:27:42 +03:00
Roman Khimov
46d866965d
Merge pull request #1889 from nspcc-dev/tune-logging
...
Tune logging
2021-04-07 20:58:52 +03:00
Roman Khimov
5898013699
docs: fix consensus UnlockWallet documentation
2021-04-07 18:31:37 +03:00
Roman Khimov
6c48257d1a
Merge pull request #1888 from nspcc-dev/fix-storage-find-key-clashes
...
core: fix key clashes in Storage.Find
2021-04-07 18:17:15 +03:00
Roman Khimov
1785a333d2
core: tune "blockchain persist completed" message
...
It's misleading, we're writing it on disk-level persistence, it's not the same
as block "persistence" in C#, so we better write it clear.
2021-04-07 18:14:30 +03:00
Roman Khimov
453012ff16
runtime: tune runtime.Log messages
...
Add transaction hash, print contract hash in LE (as all user-facing functions
do) and don't double-quote the message, zap already does quoting of its own.
2021-04-07 18:14:30 +03:00
Roman Khimov
e2121ff583
core: fix key clashes in Storage.Find
...
Fixes #1873 . NewByteArray() doesn't copy the slice, so we need to do it
ourselves.
2021-04-07 14:52:50 +03:00
Roman Khimov
d33dcd557a
Merge pull request #1886 from nspcc-dev/allow-deploying-from-multisig
...
cli/smartcontract: allow deploying contracts from multisig accounts
2021-04-07 14:30:00 +03:00
Roman Khimov
7360ed4245
Merge pull request #1885 from nspcc-dev/restore-mpt-collapsing
...
core: restore MPT collapsing logic
2021-04-07 14:29:51 +03:00
Roman Khimov
26eff7110c
cli/smartcontract: allow deploying contracts from multisig accounts
...
By providing `--out` flag.
2021-04-07 11:50:24 +03:00
Roman Khimov
9b15ab48ad
core: restore MPT collapsing logic
...
Fix #1867 , revert part of bf20db09e0
.
2021-04-07 11:14:18 +03:00
Roman Khimov
99ca0b2578
Merge pull request #1884 from nspcc-dev/oracle-example-and-docs
...
Oracle example and docs
2021-04-07 10:50:57 +03:00
Roman Khimov
9cc034af9b
examples: add a perfect oracle example
2021-04-06 22:50:42 +03:00
Roman Khimov
555693d8b8
oracle: add MinimumResponseGas to interop
...
It's important for users of oracle contract.
2021-04-06 22:50:42 +03:00
Roman Khimov
ed358b4c4c
native: expose MinimumResponseGas, add specific error for it
2021-04-06 22:50:42 +03:00
Roman Khimov
48313d4f79
.gitignore: add compiler outputs in example dir
2021-04-06 22:50:42 +03:00
Roman Khimov
090d68f8fa
oracle: add response codes to interop defintions
...
Client should be aware of them.
2021-04-06 22:50:42 +03:00