Skip to content

Conversation

@subowei
Copy link
Contributor

@subowei subowei commented Sep 13, 2023

Rebuild config, consensus, and crud. Add functions in their service

@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Patch has no changes to coverable lines.

📢 Thoughts on this report? Let us know!.

var ConfigBin = "0x608060405234801561001057600080fd5b50610406806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80631258a93a1461003b578063bd291aef1461006c575b600080fd5b61005560048036038101906100509190610207565b61009c565b6040516100639291906102f1565b60405180910390f35b61008660048036038101906100819190610321565b6100a5565b60405161009391906103b5565b60405180910390f35b60606000915091565b600092915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610114826100cb565b810181811067ffffffffffffffff82111715610133576101326100dc565b5b80604052505050565b60006101466100ad565b9050610152828261010b565b919050565b600067ffffffffffffffff821115610172576101716100dc565b5b61017b826100cb565b9050602081019050919050565b82818337600083830152505050565b60006101aa6101a584610157565b61013c565b9050828152602081018484840111156101c6576101c56100c6565b5b6101d1848285610188565b509392505050565b600082601f8301126101ee576101ed6100c1565b5b81356101fe848260208601610197565b91505092915050565b60006020828403121561021d5761021c6100b7565b5b600082013567ffffffffffffffff81111561023b5761023a6100bc565b5b610247848285016101d9565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561028a57808201518184015260208101905061026f565b83811115610299576000848401525b50505050565b60006102aa82610250565b6102b4818561025b565b93506102c481856020860161026c565b6102cd816100cb565b840191505092915050565b6000819050919050565b6102eb816102d8565b82525050565b6000604082019050818103600083015261030b818561029f565b905061031a60208301846102e2565b9392505050565b60008060408385031215610338576103376100b7565b5b600083013567ffffffffffffffff811115610356576103556100bc565b5b610362858286016101d9565b925050602083013567ffffffffffffffff811115610383576103826100bc565b5b61038f858286016101d9565b9150509250929050565b60008160030b9050919050565b6103af81610399565b82525050565b60006020820190506103ca60008301846103a6565b9291505056fea26469706673582212207bb572c2d45fbfc66c4f7051acb78da418cfff1f4aaf059601a3c6d758a1c22c64736f6c634300080b0033"

// DeployConfig deploys a new contract, binding an instance of Config to it.
func DeployConfig(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Receipt, *Config, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete DeployConfig and AsyncDeployConfig

var ConsensusBin = "0x608060405234801561001057600080fd5b506103d1806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80632800efc014610051578063359168561461008157806380599e4b146100b1578063ce6fa5c5146100e1575b600080fd5b61006b60048036038101906100669190610289565b610111565b60405161007891906102ee565b60405180910390f35b61009b6004803603810190610096919061033f565b610118565b6040516100a891906102ee565b60405180910390f35b6100cb60048036038101906100c69190610289565b610120565b6040516100d891906102ee565b60405180910390f35b6100fb60048036038101906100f6919061033f565b610127565b60405161010891906102ee565b60405180910390f35b6000919050565b600092915050565b6000919050565b600092915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6101968261014d565b810181811067ffffffffffffffff821117156101b5576101b461015e565b5b80604052505050565b60006101c861012f565b90506101d4828261018d565b919050565b600067ffffffffffffffff8211156101f4576101f361015e565b5b6101fd8261014d565b9050602081019050919050565b82818337600083830152505050565b600061022c610227846101d9565b6101be565b90508281526020810184848401111561024857610247610148565b5b61025384828561020a565b509392505050565b600082601f8301126102705761026f610143565b5b8135610280848260208601610219565b91505092915050565b60006020828403121561029f5761029e610139565b5b600082013567ffffffffffffffff8111156102bd576102bc61013e565b5b6102c98482850161025b565b91505092915050565b60008160030b9050919050565b6102e8816102d2565b82525050565b600060208201905061030360008301846102df565b92915050565b6000819050919050565b61031c81610309565b811461032757600080fd5b50565b60008135905061033981610313565b92915050565b6000806040838503121561035657610355610139565b5b600083013567ffffffffffffffff8111156103745761037361013e565b5b6103808582860161025b565b92505060206103918582860161032a565b915050925092905056fea2646970667358221220f9bf1c92bf30c11b640bf87ec39377551d33a2375d32f144e87f2bc541dc28ab64736f6c634300080b0033"

// DeployConsensus deploys a new contract, binding an instance of Consensus to it.
func DeployConsensus(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Receipt, *Consensus, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete DeployConsensus and AsyncDeployConsensus

// SPDX-License-Identifier: Apache-2.0
pragma solidity >=0.6.10 <0.8.20;
pragma experimental ABIEncoderV2;
import "./EntryWrapper.sol";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also commit EntryWrapper.sol

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.

2 participants