dawn-to-dusk
35d298ac00
fix(*): fix bugs about governance
...
1. Fix the bug that changes the state of the managed object when submitting a proposal fails;
2. Add interface to get rule state.
2021-04-28 18:02:01 +08:00
dawn-to-dusk
bf2c8ea9b5
fix(*): fix bugs about rule management
2021-04-27 17:32:27 +08:00
zhourong
6042c690c5
fix(*): fix some bugs when invoking eth tx
2021-04-26 20:01:27 +08:00
zhourong
a3ff8630f0
feat(API): add web3 compatible APIs
2021-04-26 20:01:07 +08:00
dawn-to-dusk
a6b8b54d14
Merge branch 'master' into feat/improve-governance
2021-04-26 19:40:32 +08:00
dawn-to-dusk
b33938d4f2
feat(*): improve governance
...
1. Add event type parameters to the proposal, and set the priority of the proposal according to the event type;
2. Add an interface for withdrawing proposals;
3. The sponsor of the proposal can not vote;
4。Add an interface to query proposals based on the manage object ID.
2021-04-21 23:27:29 +08:00
Alexader
6d97564b5c
test(contracts): revise contracts tests
2021-04-13 11:51:45 +08:00
Alexader
06ced08775
refactor(*): merge with governance contracts
2021-04-13 11:11:51 +08:00
Alexader
55f64f4142
feat(*): revise bvm contracts and router to adpt did handling
2021-04-13 11:11:35 +08:00
zhourong
fcb7529e70
refactor(mempool): use account nonce to sort transactions
2021-04-09 18:47:00 +08:00
dawn-to-dusk
d771291f0d
feat(*): add appchain update, freeze, activate, logout
2021-03-30 17:35:03 +08:00
dawn-to-dusk
2902f16647
feat(*): add governance module
...
1.Add governance built-in contract;
2.Add governance related tests.
2021-03-19 09:41:19 +08:00
Lizen0512
c3ce3b582d
refactor(*): 1: solo genetate a batch by timer; 2: refactor order.toml.
2020-12-21 19:42:20 +08:00
Lizen0512
6d7b842f42
refactor(mempool): refactor mempool for raft
2020-12-21 15:40:27 +08:00
dawn-to-dusk
f52360867c
fix(internal,tester): add the judgment of whether transactionhash is null
...
1. Add the judgment of whether transactionhash is null.
2020-12-18 18:50:44 +08:00
Lizen0512
918605170b
fix(test): refactor certs of unit tests
2020-12-18 14:45:47 +08:00
Lizen0512
e8521998ff
refactor(*): refactor network config
2020-12-18 14:30:40 +08:00
Lizen0512
7ab92d6f2b
feat(*): add vp node feature
2020-12-18 14:30:40 +08:00
jzhe
00c38a417d
test(tester):update network.toml in cluster nodes
2020-12-14 19:18:46 +08:00
jzhe
4c9c5cbe56
refactor:revert network config
2020-12-14 19:18:46 +08:00
dawn-to-dusk
93b7c51523
feat(api,internal): add delete vp node interface
2020-12-10 11:19:09 +08:00
Lizen0512
ef5b9e7792
refactor(*): refactor mempool for rbft-1.4
2020-12-01 21:48:23 +08:00
Lizen0512
13a933ff61
factor(*): return consensus status when vp node is un-ready
2020-12-01 21:46:16 +08:00
Sandy Zhou
6f6d21fb01
Merge pull request #216 from meshplus/feat/tick-timeout-in-raft
...
feat(raft):add tick timeout in raft config
2020-10-26 17:25:43 +08:00
zhourong
51b5cc7d24
refactor(*): add contract register support
2020-10-23 17:11:24 +08:00
jzhe
d843668620
feat(raft):add tick timeout in raft config
2020-10-23 10:53:39 +08:00
zhourong
c043db63e2
fix(*): fix integration test and contract address creation issue
2020-10-22 21:52:52 +08:00
zhourong
9126ab56c1
refactor(*): update integration tester
2020-10-22 14:22:31 +08:00
Aiden X
cb74880701
build: update core, kit and model in tester
2020-10-21 19:26:41 +08:00
zhourong
ff48dba42c
fix(test): update test
2020-09-29 15:47:28 +08:00
Alexader
49226b9334
test(tester): fix wrong tx nonce problems in tester cases
2020-09-29 15:01:30 +08:00
zhourong
112931d37c
feat(*): add api to get TPS
2020-09-22 20:05:56 +08:00
jiangzhe
a89229fddd
fix(proof_pool): fix verify ibtp pool panic
2020-09-18 11:19:46 +08:00
zhourong
850a1e6142
refactor(*): update crypto
...
1. use ecdsa secp256k1 for signature
2. use ecdsa p256 for node certificate
2020-08-13 19:48:49 +08:00
Alexader
079d1ec32a
refactor(api): refactor readonly tx api return type
...
refactor readonly tx api return type from pb.Response to pb.Receipt
2020-07-24 15:08:34 +08:00
zhourong
e7b8d8b17c
feat(transaction): add transaction management
2020-07-17 19:26:21 +08:00
Alexader
62314ec280
refactor(*): ledger is not restricted as readonly
...
readonly tx is only distinguashed by api of executor
the ledger under it will be the same instance of Ledger
2020-07-16 17:33:34 +08:00
Alexader
7f6da37901
fix(ledger): new view ledger instance err
...
1. move the ledger db initialization part out of Ledger constrcutor
2. revise unit test and tester
2020-07-15 10:55:03 +08:00
dawn-to-dusk
579799a578
test(tester): add test cases
...
Add test cases about interchain, role and store to complete integration test.
2020-07-06 13:33:42 +08:00
dawn-to-dusk
54c3952d83
test(tester): add test cases
...
Add test cases about interchain, role and store to complete integration test.
2020-07-06 13:33:42 +08:00
Aiden X
5af67305a5
Merge pull request #103 from meshplus/fix/assign-test-transaction-hash
...
fix(tester): assign transaction hash
2020-07-03 14:18:47 +08:00
Aiden X
28513ae460
Merge pull request #100 from meshplus/feat/network-new-config
...
feat(network): modify bitxhub network.toml config struct
2020-07-03 14:16:45 +08:00
treasersimplifies
012a5925ae
feat(network): rm support for old toml and transform network.toml to pure 2d array
2020-07-02 19:05:09 +08:00
dawn-to-dusk
b906da323f
fix(tester): assign transaction hash
...
Assign transaction hash while deploying contract in test. After this fix, different rules will have different address.
2020-07-02 17:29:20 +08:00
treasersimplifies
d698787002
feat(network): modify bitxhub network.toml config struct but compatible with old toml
2020-06-29 20:01:37 +08:00
dawn-to-dusk
da52ca55a7
test(tester): add test cases
...
Add test cases to complete integration test.
2020-06-29 14:12:27 +08:00
zhourong
73a6820e9b
refactor(config): read genesis config from genesis.json
2020-05-22 14:40:44 +08:00
jiangzhe
b139e29a17
refactor(contracts): remove appchain manager
...
1. remove appchain contract to bitxhub-core project.
2. extract IBTP contract from appchain.
2020-05-07 14:54:01 +08:00
Aiden X
94b7d5a8d3
refactor(tester): rm gosdk and use core api
2020-04-29 19:10:25 +08:00
xialiwei
5796919e82
feat: add register pubkey
...
Now appchain registration need upload public key.
2020-04-28 15:02:55 +08:00