Anna Shaleva
999fba81cd
core: export (*NEOBalanceState).FromStackItem
2021-05-31 11:18:54 +03:00
Anna Shaleva
9340a70aa8
cli: add description to vote
command on how to unvote
2021-05-28 15:15:37 +03:00
Roman Khimov
b858be63b4
Merge pull request #1969 from nspcc-dev/examples/nns-fix
...
examples: fix IPv6 bounds check
2021-05-28 14:29:54 +03:00
Roman Khimov
b40eb6cae2
Merge pull request #1981 from nspcc-dev/cli/vm-flags
...
vm, cli: allow to specify flags while loading VM
2021-05-28 14:22:44 +03:00
Anna Shaleva
e3611bfa4c
vm, cli: allow to specify flags while loading VM
2021-05-28 12:07:41 +03:00
Anna Shaleva
2a9ce03376
examples: fix IPv6 bounds check
2021-05-28 11:31:09 +03:00
Roman Khimov
93a331818e
Merge pull request #1978 from nspcc-dev/interop-getaccountstate
...
native/neo: add `getAccountState` method, close #1975
2021-05-27 21:21:07 +03:00
Evgeniy Stratonikov
233996eec0
native/neo: add getAccountState
method, close #1975
2021-05-27 10:59:38 +03:00
Roman Khimov
df0be2e855
Merge pull request #1979 from nspcc-dev/interop-base58check
...
compiler: add `Base58Check*` interop wrappers
2021-05-26 16:32:12 +03:00
Evgeniy Stratonikov
e314e55a1b
compiler: add Base58Check*
interop wrappers
...
Missing piece from #1977 .
2021-05-25 18:06:40 +03:00
Roman Khimov
8a55bd528d
Merge pull request #1977 from nspcc-dev/interop-base58check
...
native/std: add base58Check* methods
2021-05-25 17:57:23 +03:00
Evgeniy Stratonikov
192771a58a
native/std: add base58Check* methods, close #1974
2021-05-25 17:32:19 +03:00
Roman Khimov
e55e6eab3d
Merge pull request #1976 from nspcc-dev/fix-invoke-bool
...
rpc/request: handle bool parameters correctly
2021-05-25 12:58:10 +03:00
Evgeniy Stratonikov
c8ddc790d9
rpc/request: handle bool parameters correctly
2021-05-25 11:24:28 +03:00
Roman Khimov
399584504e
Merge pull request #1921 from nspcc-dev/compiler/locals
...
compiler: drop `countLocals` logic
2021-05-19 22:43:03 +03:00
Evgeniy Stratonikov
60a3e0d778
compiler: count auxiliary locals introduced by inlining
...
During initialization of globals no function scope is present thus
locals number is not saved anywere. Save it in `codegen` directly.
2021-05-19 11:50:07 +03:00
Evgeniy Stratonikov
87a69b13f1
compiler/test: add test for inlining with local alias
...
INITSLOT count should be 1 more than for the same test with global.
2021-05-19 11:50:07 +03:00
Evgeniy Stratonikov
b693d54282
compiler: count local variables on the go
...
Create local variables as they are needed and remove `INITSLOT`
if there were no locals. This helps to eliminate a whole class
of bugs when calculated and real amount mismatched.
2021-05-19 11:50:07 +03:00
Evgeniy Stratonikov
bfa2bafb04
compiler: optimize jumps in tests
...
Jump target shortening affects manifest, so we better be sure.
2021-05-19 09:54:10 +03:00
Evgeniy Stratonikov
2aaaf30db7
compiler: remove finallyProcessIndex
from funcScope
2021-05-19 09:54:10 +03:00
Roman Khimov
2eb91066ea
CHANGELOG: fix typos
2021-05-17 23:41:17 +03:00
Roman Khimov
ce5cb2b803
CHANGELOG: release 0.95.0
2021-05-17 23:33:16 +03:00
Roman Khimov
bbce9da15c
Merge pull request #1968 from nspcc-dev/docs/config
...
docs: add node configuration docs.
2021-05-17 22:56:41 +03:00
Roman Khimov
e0779f2d6e
Merge pull request #1965 from nspcc-dev/native/remove_nns
...
native: remove NNS contract
2021-05-17 22:51:58 +03:00
Anna Shaleva
fb6a81e5d5
docs: add NNS to examples documentation
2021-05-17 22:24:58 +03:00
Anna Shaleva
2d20b0fa23
core: remove nnsrecords package from native
...
Use nns from examples instead.
2021-05-17 22:24:56 +03:00
Anna Shaleva
c9099fa555
core: remove native nonfungible token
2021-05-17 22:22:07 +03:00
Anna Shaleva
99b37efc31
core: remove native NNS
2021-05-17 22:22:07 +03:00
Anna Shaleva
4c4361b2c6
native: move\remove native NNS tests
...
Record types test is moved to non-native NNS tests and adjusted
according to the non-native implementation behavior.
NEP11-compliance test is removed (non-native NNS is checked against
NEP11 standard during examples compilation test).
Domain name test is removed (we already have the same non-native
NNS tests).
2021-05-17 22:22:03 +03:00
Anna Shaleva
bfda758221
core: replace native NNS with non-native NNS in core tests
2021-05-17 22:12:38 +03:00
Anna Shaleva
71948d903b
cli: use non-native NNS instead of native NNS in NEP-related tests
2021-05-17 22:09:30 +03:00
Anna Shaleva
7180b2ce06
rpc: use non-native NNS instead of native NNS in testchain
2021-05-17 22:08:15 +03:00
Anna Shaleva
4f1c50373f
core: detalize errors during contract.LoadToken and contract.Call
2021-05-17 22:08:15 +03:00
Anna Shaleva
6eee868b4a
interop: remove native NNS API wrappers
2021-05-17 22:08:15 +03:00
Anna Shaleva
7f43c48182
examples: add non-native NeoNameService contract
2021-05-17 22:08:10 +03:00
Anna Shaleva
f98d4e8eed
docs: add node configuration docs.
2021-05-17 21:55:47 +03:00
Roman Khimov
f0e603c4e8
Merge pull request #1963 from nspcc-dev/custom-mvubi
...
config: make `MaxValidUntilBlockIncrement` configurable
2021-05-17 15:18:38 +03:00
Evgeniy Stratonikov
33e1e61343
config: make MaxValidUntilBlockIncrement
configurable
2021-05-17 13:43:03 +03:00
Roman Khimov
2cb878cb7a
Merge pull request #1961 from nspcc-dev/bench-fixes
...
wallet: rename `isdefault` to `isDefault`
2021-05-14 17:09:56 +03:00
Evgeniy Stratonikov
ea49c6b637
wallet: rename isdefault
to isDefault
...
Follow neo-project/neo#2451 .
2021-05-14 10:31:31 +03:00
Roman Khimov
fcf29bc093
Merge pull request #1959 from nspcc-dev/drop-vendoring
...
Drop vendoring, fix jsonpath lint
2021-05-13 17:54:39 +03:00
Roman Khimov
4131e208e5
jsonpath: drop unnecessary assignment, fix lint fail
...
pkg/services/oracle/jsonpath/jsonpath.go:354:8 ineffassign ineffectual assignment to val
2021-05-13 17:26:38 +03:00
Roman Khimov
186cfa32df
go.sum: go mod tidy
2021-05-13 17:22:30 +03:00
Roman Khimov
db4bd28160
Makefile: drop vendoring
...
It's not really needed.
2021-05-13 17:22:10 +03:00
Roman Khimov
d6364739c5
Dockerfile: use make to build neo-go
...
Don't duplicate go build invocation line there.
2021-05-13 17:16:27 +03:00
Roman Khimov
f2f9ec1a05
Merge pull request #1916 from nspcc-dev/fix/oraclefilter
...
oracle: make JSONPath compatible with C# implementation
2021-05-13 15:34:52 +03:00
Evgeniy Stratonikov
28a0d68c05
jsonpath: allow empty paths
2021-05-13 11:53:49 +03:00
Evgeniy Stratonikov
5fc81c787b
jsonpath: use ordered map json unmarshaler
2021-05-13 11:53:49 +03:00
Evgeniy Stratonikov
6890688b8f
oracle: add max nesting depth to JSONPath filter
2021-05-13 11:53:49 +03:00
Evgeniy Stratonikov
1c30d8c395
oracle: make JSONPath compatible with C# implementation
...
C# node uses simplified implementation which is easy to port.
2021-05-13 11:53:28 +03:00