Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix asset contract #157

Merged
merged 1 commit into from
Apr 22, 2019
Merged

fix asset contract #157

merged 1 commit into from
Apr 22, 2019

Conversation

elvis88
Copy link
Contributor

@elvis88 elvis88 commented Apr 22, 2019

No description provided.

@erickyan86 erickyan86 merged commit f4d4647 into dev Apr 22, 2019
@erickyan86 erickyan86 deleted the bug_assetcontract branch April 22, 2019 05:29
erickyan86 added a commit that referenced this pull request Apr 23, 2019
* modify account

* modify genesis_test

* add get delegated balance

* fix test

* add opt for opSnapBalance

* add msg.assetid for solidity

* recompile VEN.sol due to solc change

* modify assetid type from address to uint256

* modify action and acccount

* modify action type

* Update test_utils.go

* fix genesis_test

* Update asset.go

* add gasAllot to receipt

* modify payload data

* fix testcase for receipt

* write right json format for receipt struct

* modify genesis account

* add log info

* fix genesis_test

* add contract log

* contract log storage

* fix jsonrpc about dpos

* add bft irreversible & ErrTooMuchRreversible

* fix genesis test

* fix extra reward bug

* modify action toname

* fix contract log store bug

* modify action

* add rpc GetAssetAmountByTime

* odify action type

* sync from dev branch

* support import/export block

* odify accountmanager process

* delete package

* add aciton value check

* syn from dev

* syn from dev

* syn from dev

* modify import block

* fix bug

* add test case

* add account ID

* add rpc getaccountbyid

* fix bug

* fixbug getbalancebytime

* add destroyasset for contract

* fixvmbug

* add value check

* actioncheck

* action test case

* fix too much rreversible & recover system

* support subaccount and subasset

* add cadidate counter

* add test

* fix bug

* fix bug

* modify subasset

* fix bug

* fix library

* modify get block detail log rpc

* modify BlockAndResult struct

* change to multi signature

delete useless log

delete useless binary file

* add transaction test

* delete unvaild file

* prevent the system account from doing evil

* detailed tx interface

* modify snapshot

* fix take over bug

* using account name with bloom

* support access all balance from asset and subAsset

* bloom encoding

* using function from common bytes

* delete useless gas params

* add account and asset level config in genesis block

* receipts seems dont contains detailedtx, using transaction index instead

* modify asset limit

* modify snapshot

* modify get balance

* add getdelegate api

* add check account is exist by id

* change name to id in contract

* add contract get all balance

* add contract get delegate

* delete redundant code

* fix bug

* add encrypt func

* fix validate cadidate bound bug

* fix account is null

* add account and asset create number

* add gas type

* fix bug

* fix bug CalcProposedIrreversible

* modify gas distribute

* fix bug

* modify snapshot flag

* fix acct nil bug

* add asset nil check

* modify account not exist

* fix vm bug

* modify account and asset name

* get all txs by account or bloom string

* change to filter func for reuse purpose

* hexutil Bytes argment

* add go vet ckeck

* fix txpool unit test fail error

* fix makefile

* refined implement (#135)

* get all txs by account or bloom string

* change to filter func for reuse purpose

* hexutil Bytes argment

* refine implement

* fix bftirreversible bug

* adjust value about dpos transaction

* add get account create time

* panic when sign is empty

* check to

* check to

* add updateAuthorThreshold

* delete useless log

* modify testcase

* modify account founder is nil

* fix genesis defined

* add asset attribute

* fix worker

* optimize signer code

* cache sender in transaction before obtaining lock

* move account mananger in validateTx

* Review (#144)

* get all txs by account or bloom string

* change to filter func for reuse purpose

* hexutil Bytes argment

* refine implement

* fix genesis

* modify config

* fix bug

* enode -> fnode

* delete DatabaseVersion

* fnode test fix

* fork controller refined

* recover SetupGenesisBlock func panic

* fixed ft cmd config priority level

* blockchain check state

* query bad blocks

* modify blockchain event

* only relative logs are returned. required by wallet

* bad block return filled block structure

* append fix

* merge

* merge

* remove local wallet

* add command p2p name and id flags

* modify internal log

* add cryptocalc func

* redo fmt

* test getaccounttime

* remove types/action.go println

* modify genesis internal log

* Bug contract (#152)

* fix bug

* Txpool config (#153)

* add txpool config check

* add makefile tmp_release

* add crypto byte gas consume

* fix asset contract (#157)

* enc len calc error

* fix asset contract (#158)

* modify instruction action toAccount

* fix gas cost

* rename internalTx and lower sections of rpc results (#163)

* get all txs by account or bloom string

* change to filter func for reuse purpose

* hexutil Bytes argment

* refine implement

* enode -> fnode

* lower first character

* rename internalTx-> DetailAction InternalLog -> InternalAction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants