fractalplatform / fractal Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Prerequisites:
ft_sendRawTransaction
Test steps:
1.Send unsigned transactions
Test results:
panic
Prerequisites:
DOPS
Test steps:
Prerequisites:
Non-producers as parameters
Test steps:
1.getSnapBalance ,Non-producers as parameters
Test results:
update getSnapBalance ,Non-producers as parameters , stop mining
Remarks:Has been corrected but not incorporated dev(take notes)
Prerequisites:
txpool
Test steps:
1.New Types of False Trading
Test results:
txpool does not filter
Prerequisites:
DPOS
Test steps:
1.DPOS :After two rounds
Test results:
dpos too much rreversible blocks
Remarks:Has been corrected but not incorporated dev(take notes)
Prerequisites:
Multiple Accounts, Multiple Nodes
Test steps:
no nodes in the first account
Test results:
the order of mining nodes is not random
I built a transaction like this:
"gasAssetId":0,
"gasPrice":10000000000000000,
"actions":[
{
"gasLimit":300000,
"remark":"0xe78e8be69ca8e69ca8e5a49574657374",
"amount":"0x1",
"actionType":"0x205",
"accountName":"wangmenglocal",
"toAccountName":"wangmenghaha",
"assetId":0,
"nonce":1,
"payload":"0x",
"payloadDetailInfo":{
"name":"payload",
"value":"0x"
}
}
]
}
and then I signed and sent transaction, but got error "Invalid sender" , I guess it failed because wrong signature. I used FTWallet and sent transaction successfully with the same account. How can I get the signature from FTWallet? so that I can check if I did it right, or can you please tell me if I build the transfer body right?
DEBUG[07-25|11:33:41.844] downloader statusTD x Local=53557276256 Number=19561 R=57070210640 Number=20839
DEBUG[07-25|11:33:41.844] downloader findAncestor headNumber=19561 preAncestor=0 irreversibleNumber=20306
WARN [07-25|11:33:41.844] ancestor err err="can not find ancestor after irreversibleNumber:20306" errid:=3
WARN [07-25|11:33:41.844] Disconnect because ancestor not find: station:=ecc702621e254cc2
DEBUG[07-25|11:33:41.844] multiplexDownload end
INFO [07-25|11:33:41.844] Add bad node node="&{node:0xc43029f7a0 endtime:1564025681}"
INFO [07-25|11:33:41.845] Removing p2p peer id=ecc702621e254cc2 conn=dyndial duration=3.021ms peers=10 req=false err="peer was added in the balcklist at least 1 minute"
Prerequisites: issuance of assets
Test steps:
Additional assets
Expected results:
No additional issuance of this asset
Prerequisites:
IssueAsset
Test steps:
1.IssueAsset Upperlimit=0,error
Test results:
error
When use different rpc, ft_getCurrentBlock and dpos_irreversible, to get the value of proposedIrreversible, the values are not equal.
Excuse me , there were something wrong when i set up a node. During the process of starting a node, everything was fine except a warn"genesis bootnodes prased failed"and detail information just showed "invalid IP address". So , if you were just change the ip address in he "genesis.json" and "testnet.json"? The addresses you gave in theses two documents were all unable to connect, thus I can not find any other nodes.
It will be greatly appreciated if you can reply me soon. Thx!
Prerequisites:
transAsset Contract method
Test steps:
1.Contract Account as Parameter
Test results:
evm: execution reverted
Like btcec
,
func ParsePubKey(pubKeyStr []byte, curve *KoblitzCurve) (key *PublicKey, err error) {
...
How to craeate transaction using 'https://github.com/fractalplatform/fractal/wiki/%E4%BA%A4%E6%98%93payload%E6%9E%84%E9%80%A0#%E5%88%9B%E5%BB%BA%E8%B4%A6%E5%8F%B7' ? Can you provide me a demo to do it,like requesting the interface or creating local code.
Prerequisites:
DOPS
Test steps:
1.too much rreversible blocks
Test results:
DPOS new features,insert error :497 not found block by number 497
notes:Changed, tested and observed
Lines 153 to 155 in 1d8e186
Hey dude,
Just a friendly advice. You should not panic(err). You’d rather use a package like this for debugging your errors. Debug your code with :
It’s way more easier then to debug.
Real better than panic-ing (in most case). You can still force exit if you need it.
I would be happy to get your feedbacks.
Prerequisites:
DPOS
Test steps:
1.Look at the producers of large blocks
Test results:
Occasionally one producer comes out twice in a round.
when I run a private networks as #134.
But after I runed ./build/bin/ft --genesis=./build/genesis.json --miner_start
it shows below
INFO [10-18|15:35:32.046] No config file , use default configuration.
INFO [10-18|15:35:32.046] fractal node version=0.0.30+commit.v0.0.30-26-g2c95589+date.2019-10-18
INFO [10-18|15:35:32.046] Reading read genesis file path=./build/genesis.json
WARN [10-18|15:35:32.072] genesis bootnodes parse failed err="invalid IP address" node=fnode://9d18e8f043a1d2c06d87506cd968410a24db7cbca3c152e75a9e3850b9b737ec85da66c271ac9f703c61e5367d8922d39e145313ff7cb379d9c8d682a15f60dc@boot2.m.ft.im:30000
WARN [10-18|15:35:32.075] genesis bootnodes parse failed err="invalid IP address" node=fnode://6629defca0f82ede9cb30d40a2ec6e8c56f51080ad49e9099eb960bed63829ee259bdec6c357d2b43ebdb621b1a54da268d35088bd9db80245936a58c299e1e6@boot3.m.ft.im:30000
INFO [10-18|15:35:32.079] Allocated cache and file handles database=/root/.ft_ledger/ft/chaindata cache=768 handles=512
WARN [10-18|15:35:32.096] genesis bootnodes parse failed err="invalid IP address" node=fnode://9d18e8f043a1d2c06d87506cd968410a24db7cbca3c152e75a9e3850b9b737ec85da66c271ac9f703c61e5367d8922d39e145313ff7cb379d9c8d682a15f60dc@boot2.m.ft.im:30000
WARN [10-18|15:35:32.099] genesis bootnodes parse failed err="invalid IP address" node=fnode://6629defca0f82ede9cb30d40a2ec6e8c56f51080ad49e9099eb960bed63829ee259bdec6c357d2b43ebdb621b1a54da268d35088bd9db80245936a58c299e1e6@boot3.m.ft.im:30000
ERROR[10-18|15:35:32.102] ft start node failed. err="database already contains an incompatible genesis block (have fff77195a34bae2cbe56990436ef0ae4f41f1a466a1a7943f7040ecdd19eceba, new 3b7172d970b3309c11aabdfadf50a81a80649d57f4c1c47b7eb62328eb9e0f48)"
so how to solve the problem above ,thanks.
Prerequisites:
contract
Test steps:
txpool pending transaction list unable to delete underbalanced transactions。
~/fractal-0.0.30# make all
······
--- /tmp/gofmt022320232 2019-11-21 15:09:10.482600314 +0800
+++ /tmp/gofmt965464231 2019-11-21 15:09:10.482600314 +0800
@@ -151,7 +151,7 @@
}
accountTxs := &types.AccountTxs{
Txs: txhhpairs,
Txs: txhhpairs,
IrreversibleBlockHeight: b.ftservice.engine.CalcBFTIrreversible(),
EndHeight: uint64(lastnum),
}
Your marmot has found a problem with the formatting style of the code.
Makefile:38: recipe for target 'check' failed
make: *** [check] Error 1
How can I solve this problem?
Prerequisites:
Non-platform currency as parameter
Test steps:
1.update getSnapBalance,Non-platform currency as parameter
Test results:
return 0
Remarks:Has been corrected but not test(take notes)
Bug1:
1. set config.AccountNameLevel = 1
2. set name1 = "abc"
3. set name2 = "abc.1"
4. check name1.IsChildren(name2) => panic
Bug2:
1. set config.AccountNameLevel = 3
2. set name1 = "abc4567.1"
3. set name2 = "def4567.1.abc4567.1"
4. check name1.IsChildren(name2) => true
Prerequisites:
ft_call
Test steps:
1.return empty
Test results:
ft_call Interface returns empty data
Prerequisites:
DOPS
Test steps:
1.Cadidates<2/3+1
Test results:
snapshot statedb nil pointer dereference
notes:Changed, tested and observed
Prerequisites:
Snapshots
Test steps:
wait an hour
Test results:
CPUs to go up, not down.
Prerequisites:
ProducerScheduleSize reach quantity
Test steps:
1.Registered producer
Test results:
ActivatedMinQuantity did not reach the set value, DPOS started
Prerequisites:
DOPS
Test steps:
1.After kick Cadidate,Insufficient Cadidate
Test results:
except [ftsystemio testtest11 testtest13 testtest3 testtest14 testtest4 testtest10 ftsystemio testtest12 testtest6 testtest7 testtest8 testtest15 testtest5 testtest9] index 11 (5752668) "
Prerequisites:
fee
Test steps:
1.fee
Test results:
No limit on fee currency
Like govendor remove +u
.
Prerequisites:
pre producer does not block
Test steps:
1.View current producer extraBlockReward
Test results:
The former producer does not block, the current producer does not have extraBlockReward
Prerequisites:
DPOS
Test steps:
1.Look at the bftIrreversible
Test results:
Occasionally bftIrreversible unchanged.
notes:Has been repaired but has not been fitted in dev
the wiki is still a blank
Prerequisites:
contract destroyAsset
Test steps:
1.account asset not exist or asset amount over the issuance limit
Test results:
No error prompted
Prerequisites:RLP
Test steps:
1.Create an invalid account
2.Call RLP to send transactions
Test results:
Transactions that create invalid accounts can be accessed through RLP to the TX Library
Prerequisites:
Stress testing
Test steps:
after a period of time
Test results:
some nodes can not synchronize
Prerequisites:
Test steps:
1.Pressure test
Test results:
Occasionally statedb fatal error: concurrent map read and map write
Prerequisites:
Snapshots
Test steps:
Node Synchronization
Test results:
error
Prerequisites:
many many transactions
Test steps:
1.long-running
Test results:
txpool has too many transactions,but miner empty block
gasAllot slices are out of order from evm.FounderGasMap
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.