Anna Shaleva
|
0f1473897b
|
core: temp manifest.Extra marshalling fix
Manifest.Extra still serialized as JSON message with undefined order
of items, so it affects contract states dumps.
|
2021-02-12 23:48:30 +03:00 |
|
Roman Khimov
|
158f0d9d9c
|
native/vm: add script check for deployed contracts
Refs. #1699.
|
2021-02-09 22:31:26 +03:00 |
|
Roman Khimov
|
62ef5a8dc7
|
native: enforce contract manifest UTF-8 validity
Refs. #1699.
|
2021-02-09 22:31:26 +03:00 |
|
Anna Shaleva
|
a2715404d0
|
core: serialise manifest as stackitem
|
2021-02-05 19:10:15 +03:00 |
|
Evgeniy Stratonikov
|
2336415f42
|
naitve: disallow contract name modification
|
2021-01-29 12:19:08 +03:00 |
|
Evgeniy Stratonikov
|
c1cc7e6f9d
|
native: add additional parameters to deploy
1. Management contract has 2 overloads of `deploy` method.
2. Normal contracts should have `_deploy` with 2 parameters.
|
2021-01-29 12:19:08 +03:00 |
|
Evgeniy Stratonikov
|
73f888f02e
|
core: allow to overload contract methods
Multiple methods with different parameter count can co-exist.
|
2021-01-27 12:51:07 +03:00 |
|
Roman Khimov
|
054ca27e9c
|
state: use checksums and names to calculate contract hashes
It allows to deploy the same NEF using one sender and get different contract
hashes. See neo-project/neo#2240.
|
2021-01-22 12:22:48 +03:00 |
|
Evgeniy Stratonikov
|
49de8161ef
|
core: implement LoadToken handler
|
2021-01-22 09:04:37 +03:00 |
|
Evgeniy Stratonikov
|
0b26b46234
|
state: store NEF instead of script for contract
NEFs for native contracts are set statically, thus
field values are taken from the reference implementation.
|
2021-01-13 15:34:10 +03:00 |
|
Roman Khimov
|
811f38eaed
|
*: gofmt -s
|
2020-12-28 17:23:30 +03:00 |
|
Evgenii Stratonikov
|
30423f3306
|
mpt: update MPT after the block processing
|
2020-12-25 14:40:23 +03:00 |
|
Anna Shaleva
|
b1324db847
|
core: add notifications to ManagmentContract
|
2020-12-18 16:52:51 +03:00 |
|
Anna Shaleva
|
d34353aec2
|
core: add MinimumDeploymentFee
|
2020-12-18 16:48:05 +03:00 |
|
Evgenii Stratonikov
|
3397f2c9be
|
native: cache contract in Management contract
|
2020-12-18 13:11:17 +03:00 |
|
Roman Khimov
|
ab12eee346
|
native: move contract deployment to management contract
See neo-project/neo#2119.
|
2020-12-14 15:23:46 +03:00 |
|