diff --git a/accounts/abi/abi.go b/accounts/abi/abi.go index 4abf29806..86ce5a3cc 100644 --- a/accounts/abi/abi.go +++ b/accounts/abi/abi.go @@ -24,8 +24,8 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" ) // The ABI holds information about a contract's context and available diff --git a/accounts/abi/abi_test.go b/accounts/abi/abi_test.go index bc76df0dc..c1b4acc89 100644 --- a/accounts/abi/abi_test.go +++ b/accounts/abi/abi_test.go @@ -26,9 +26,9 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" ) const jsondata = ` diff --git a/accounts/abi/bind/auth.go b/accounts/abi/bind/auth.go index 0740c6951..b7f3e2757 100644 --- a/accounts/abi/bind/auth.go +++ b/accounts/abi/bind/auth.go @@ -23,13 +23,13 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/external" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/external" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" ) // ErrNoChainID is returned whenever the user failed to specify a chain id. diff --git a/accounts/abi/bind/backend.go b/accounts/abi/bind/backend.go index 38b304697..749f4219e 100644 --- a/accounts/abi/bind/backend.go +++ b/accounts/abi/bind/backend.go @@ -21,9 +21,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) var ( diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go index 756a9d355..7c8d8de79 100644 --- a/accounts/abi/bind/backends/simulated.go +++ b/accounts/abi/bind/backends/simulated.go @@ -19,9 +19,9 @@ package backends import ( "context" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/ethclient/simulated" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/ethclient/simulated" ) // SimulatedBackend is a simulated blockchain. diff --git a/accounts/abi/bind/base.go b/accounts/abi/bind/base.go index 96d284cdc..924a8c0b2 100644 --- a/accounts/abi/bind/base.go +++ b/accounts/abi/bind/base.go @@ -24,12 +24,12 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/event" ) const basefeeWiggleMultiplier = 2 diff --git a/accounts/abi/bind/base_test.go b/accounts/abi/bind/base_test.go index f7eb7d14d..310de33ef 100644 --- a/accounts/abi/bind/base_test.go +++ b/accounts/abi/bind/base_test.go @@ -24,14 +24,14 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" "github.com/stretchr/testify/assert" ) diff --git a/accounts/abi/bind/bind.go b/accounts/abi/bind/bind.go index e902345f0..9c5742586 100644 --- a/accounts/abi/bind/bind.go +++ b/accounts/abi/bind/bind.go @@ -29,8 +29,8 @@ import ( "text/template" "unicode" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/log" ) // Lang is a target programming language selector to generate bindings for. diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go index a6ffe7609..840c14e8d 100644 --- a/accounts/abi/bind/bind_test.go +++ b/accounts/abi/bind/bind_test.go @@ -25,7 +25,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) var bindTests = []struct { @@ -46,7 +46,7 @@ var bindTests = []struct { `contract NilContract {}`, []string{`606060405260068060106000396000f3606060405200`}, []string{`[]`}, - `"github.com/ethereum/go-ethereum/common"`, + `"github.com/KP-Universe/go-kpu/common"`, ` if b, err := NewEmpty(common.Address{}, nil); b == nil || err != nil { t.Fatalf("combined binding (%v) nil or error (%v) not nil", b, nil) @@ -69,7 +69,7 @@ var bindTests = []struct { `https://ethereum.org/token`, []string{`60606040526040516107fd3803806107fd83398101604052805160805160a05160c051929391820192909101600160a060020a0333166000908152600360209081526040822086905581548551838052601f6002600019610100600186161502019093169290920482018390047f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56390810193919290918801908390106100e857805160ff19168380011785555b506101189291505b8082111561017157600081556001016100b4565b50506002805460ff19168317905550505050610658806101a56000396000f35b828001600101855582156100ac579182015b828111156100ac5782518260005055916020019190600101906100fa565b50508060016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061017557805160ff19168380011785555b506100c89291506100b4565b5090565b82800160010185558215610165579182015b8281111561016557825182600050559160200191906001019061018756606060405236156100775760e060020a600035046306fdde03811461007f57806323b872dd146100dc578063313ce5671461010e57806370a082311461011a57806395d89b4114610132578063a9059cbb1461018e578063cae9ca51146101bd578063dc3080f21461031c578063dd62ed3e14610341575b610365610002565b61036760008054602060026001831615610100026000190190921691909104601f810182900490910260809081016040526060828152929190828280156104eb5780601f106104c0576101008083540402835291602001916104eb565b6103d5600435602435604435600160a060020a038316600090815260036020526040812054829010156104f357610002565b6103e760025460ff1681565b6103d560043560036020526000908152604090205481565b610367600180546020600282841615610100026000190190921691909104601f810182900490910260809081016040526060828152929190828280156104eb5780601f106104c0576101008083540402835291602001916104eb565b610365600435602435600160a060020a033316600090815260036020526040902054819010156103f157610002565b60806020604435600481810135601f8101849004909302840160405260608381526103d5948235946024803595606494939101919081908382808284375094965050505050505060006000836004600050600033600160a060020a03168152602001908152602001600020600050600087600160a060020a031681526020019081526020016000206000508190555084905080600160a060020a0316638f4ffcb1338630876040518560e060020a0281526004018085600160a060020a0316815260200184815260200183600160a060020a03168152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156102f25780820380516001836020036101000a031916815260200191505b50955050505050506000604051808303816000876161da5a03f11561000257505050509392505050565b6005602090815260043560009081526040808220909252602435815220546103d59081565b60046020818152903560009081526040808220909252602435815220546103d59081565b005b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156103c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60408051918252519081900360200190f35b6060908152602090f35b600160a060020a03821660009081526040902054808201101561041357610002565b806003600050600033600160a060020a03168152602001908152602001600020600082828250540392505081905550806003600050600084600160a060020a0316815260200190815260200160002060008282825054019250508190555081600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b820191906000526020600020905b8154815290600101906020018083116104ce57829003601f168201915b505050505081565b600160a060020a03831681526040812054808301101561051257610002565b600160a060020a0380851680835260046020908152604080852033949094168086529382528085205492855260058252808520938552929052908220548301111561055c57610002565b816003600050600086600160a060020a03168152602001908152602001600020600082828250540392505081905550816003600050600085600160a060020a03168152602001908152602001600020600082828250540192505081905550816005600050600086600160a060020a03168152602001908152602001600020600050600033600160a060020a0316815260200190815260200160002060008282825054019250508190555082600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3939250505056`}, []string{`[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"spentAllowance","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"decimalUnits","type":"uint8"},{"name":"tokenSymbol","type":"string"}],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]`}, - `"github.com/ethereum/go-ethereum/common"`, + `"github.com/KP-Universe/go-kpu/common"`, ` if b, err := NewToken(common.Address{}, nil); b == nil || err != nil { t.Fatalf("binding (%v) nil or error (%v) not nil", b, nil) @@ -85,7 +85,7 @@ var bindTests = []struct { `https://ethereum.org/crowdsale`, []string{`606060408190526007805460ff1916905560a0806105a883396101006040529051608051915160c05160e05160008054600160a060020a03199081169095178155670de0b6b3a7640000958602600155603c9093024201600355930260045560058054909216909217905561052f90819061007990396000f36060604052361561006c5760e060020a600035046301cb3b20811461008257806329dcb0cf1461014457806338af3eed1461014d5780636e66f6e91461015f5780637a3a0e84146101715780637b3e5e7b1461017a578063a035b1fe14610183578063dc0d3dff1461018c575b61020060075460009060ff161561032357610002565b61020060035460009042106103205760025460015490106103cb576002548154600160a060020a0316908290606082818181858883f150915460025460408051600160a060020a039390931683526020830191909152818101869052517fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf6945090819003909201919050a15b60405160008054600160a060020a039081169230909116319082818181858883f150506007805460ff1916600117905550505050565b6103a160035481565b6103ab600054600160a060020a031681565b6103ab600554600160a060020a031681565b6103a160015481565b6103a160025481565b6103a160045481565b6103be60043560068054829081101561000257506000526002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f8101547ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d409190910154600160a060020a03919091169082565b005b505050815481101561000257906000526020600020906002020160005060008201518160000160006101000a815481600160a060020a030219169083021790555060208201518160010160005055905050806002600082828250540192505081905550600560009054906101000a9004600160a060020a0316600160a060020a031663a9059cbb3360046000505484046040518360e060020a0281526004018083600160a060020a03168152602001828152602001925050506000604051808303816000876161da5a03f11561000257505060408051600160a060020a03331681526020810184905260018183015290517fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf692509081900360600190a15b50565b5060a0604052336060908152346080819052600680546001810180835592939282908280158290116102025760020281600202836000526020600020918201910161020291905b8082111561039d57805473ffffffffffffffffffffffffffffffffffffffff19168155600060019190910190815561036a565b5090565b6060908152602090f35b600160a060020a03166060908152602090f35b6060918252608052604090f35b5b60065481101561010e576006805482908110156100025760009182526002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0190600680549254600160a060020a0316928490811015610002576002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d40015460405190915082818181858883f19350505050507fe842aea7a5f1b01049d752008c53c52890b1a6daf660cf39e8eec506112bbdf660066000508281548110156100025760008290526002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01548154600160a060020a039190911691908490811015610002576002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d40015460408051600160a060020a0394909416845260208401919091526000838201525191829003606001919050a16001016103cc56`}, []string{`[{"constant":false,"inputs":[],"name":"checkGoalReached","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"deadline","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"fundingGoal","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"amountRaised","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"funders","outputs":[{"name":"addr","type":"address"},{"name":"amount","type":"uint256"}],"type":"function"},{"inputs":[{"name":"ifSuccessfulSendTo","type":"address"},{"name":"fundingGoalInEthers","type":"uint256"},{"name":"durationInMinutes","type":"uint256"},{"name":"etherCostOfEachToken","type":"uint256"},{"name":"addressOfTokenUsedAsReward","type":"address"}],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"backer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"isContribution","type":"bool"}],"name":"FundTransfer","type":"event"}]`}, - `"github.com/ethereum/go-ethereum/common"`, + `"github.com/KP-Universe/go-kpu/common"`, ` if b, err := NewCrowdsale(common.Address{}, nil); b == nil || err != nil { t.Fatalf("binding (%v) nil or error (%v) not nil", b, nil) @@ -101,7 +101,7 @@ var bindTests = []struct { `https://ethereum.org/dao`, []string{`606060405260405160808061145f833960e06040529051905160a05160c05160008054600160a060020a03191633179055600184815560028490556003839055600780549182018082558280158290116100b8576003028160030283600052602060002091820191016100b891906101c8565b50506060919091015160029190910155600160a060020a0381166000146100a65760008054600160a060020a031916821790555b505050506111f18061026e6000396000f35b505060408051608081018252600080825260208281018290528351908101845281815292820192909252426060820152600780549194509250811015610002579081527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6889050815181546020848101517401000000000000000000000000000000000000000002600160a060020a03199290921690921760a060020a60ff021916178255604083015180516001848101805460008281528690209195600293821615610100026000190190911692909204601f9081018390048201949192919091019083901061023e57805160ff19168380011785555b50610072929150610226565b5050600060028201556001015b8082111561023a578054600160a860020a031916815560018181018054600080835592600290821615610100026000190190911604601f81901061020c57506101bb565b601f0160209004906000526020600020908101906101bb91905b8082111561023a5760008155600101610226565b5090565b828001600101855582156101af579182015b828111156101af57825182600050559160200191906001019061025056606060405236156100b95760e060020a6000350463013cf08b81146100bb578063237e9492146101285780633910682114610281578063400e3949146102995780635daf08ca146102a257806369bd34361461032f5780638160f0b5146103385780638da5cb5b146103415780639644fcbd14610353578063aa02a90f146103be578063b1050da5146103c7578063bcca1fd3146104b5578063d3c0715b146104dc578063eceb29451461058d578063f2fde38b1461067b575b005b61069c6004356004805482908110156100025790600052602060002090600a02016000506005810154815460018301546003840154600485015460068601546007870154600160a060020a03959095169750929560020194919360ff828116946101009093041692919089565b60408051602060248035600481810135601f81018590048502860185019096528585526107759581359591946044949293909201918190840183828082843750949650505050505050600060006004600050848154811015610002575090527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e600a8402908101547f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b909101904210806101e65750600481015460ff165b8061026757508060000160009054906101000a9004600160a060020a03168160010160005054846040518084600160a060020a0316606060020a0281526014018381526020018280519060200190808383829060006004602084601f0104600f02600301f15090500193505050506040518091039020816007016000505414155b8061027757506001546005820154105b1561109257610002565b61077560043560066020526000908152604090205481565b61077560055481565b61078760043560078054829081101561000257506000526003026000805160206111d18339815191528101547fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a820154600160a060020a0382169260a060020a90920460ff16917fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c689019084565b61077560025481565b61077560015481565b610830600054600160a060020a031681565b604080516020604435600481810135601f81018490048402850184019095528484526100b9948135946024803595939460649492939101918190840183828082843750949650505050505050600080548190600160a060020a03908116339091161461084d57610002565b61077560035481565b604080516020604435600481810135601f8101849004840285018401909552848452610775948135946024803595939460649492939101918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976084979196506024909101945090925082915084018382808284375094965050505050505033600160a060020a031660009081526006602052604081205481908114806104ab5750604081205460078054909190811015610002579082526003026000805160206111d1833981519152015460a060020a900460ff16155b15610ce557610002565b6100b960043560243560443560005433600160a060020a03908116911614610b1857610002565b604080516020604435600481810135601f810184900484028501840190955284845261077594813594602480359593946064949293910191819084018382808284375094965050505050505033600160a060020a031660009081526006602052604081205481908114806105835750604081205460078054909190811015610002579082526003026000805160206111d18339815191520181505460a060020a900460ff16155b15610f1d57610002565b604080516020606435600481810135601f81018490048402850184019095528484526107759481359460248035956044359560849492019190819084018382808284375094965050505050505060006000600460005086815481101561000257908252600a027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01815090508484846040518084600160a060020a0316606060020a0281526014018381526020018280519060200190808383829060006004602084601f0104600f02600301f150905001935050505060405180910390208160070160005054149150610cdc565b6100b960043560005433600160a060020a03908116911614610f0857610002565b604051808a600160a060020a031681526020018981526020018060200188815260200187815260200186815260200185815260200184815260200183815260200182810382528981815460018160011615610100020316600290048152602001915080546001816001161561010002031660029004801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b50509a505050505050505050505060405180910390f35b60408051918252519081900360200190f35b60408051600160a060020a038616815260208101859052606081018390526080918101828152845460026001821615610100026000190190911604928201839052909160a08301908590801561081e5780601f106107f35761010080835404028352916020019161081e565b820191906000526020600020905b81548152906001019060200180831161080157829003601f168201915b50509550505050505060405180910390f35b60408051600160a060020a03929092168252519081900360200190f35b600160a060020a03851660009081526006602052604081205414156108a957604060002060078054918290556001820180825582801582901161095c5760030281600302836000526020600020918201910161095c9190610a4f565b600160a060020a03851660009081526006602052604090205460078054919350908390811015610002575060005250600381026000805160206111d183398151915201805474ff0000000000000000000000000000000000000000191660a060020a85021781555b60408051600160a060020a03871681526020810186905281517f27b022af4a8347100c7a041ce5ccf8e14d644ff05de696315196faae8cd50c9b929181900390910190a15050505050565b505050915081506080604051908101604052808681526020018581526020018481526020014281526020015060076000508381548110156100025790600052602060002090600302016000508151815460208481015160a060020a02600160a060020a03199290921690921774ff00000000000000000000000000000000000000001916178255604083015180516001848101805460008281528690209195600293821615610100026000190190911692909204601f90810183900482019491929190910190839010610ad357805160ff19168380011785555b50610b03929150610abb565b5050600060028201556001015b80821115610acf57805474ffffffffffffffffffffffffffffffffffffffffff1916815560018181018054600080835592600290821615610100026000190190911604601f819010610aa15750610a42565b601f016020900490600052602060002090810190610a4291905b80821115610acf5760008155600101610abb565b5090565b82800160010185558215610a36579182015b82811115610a36578251826000505591602001919060010190610ae5565b50506060919091015160029190910155610911565b600183905560028290556003819055604080518481526020810184905280820183905290517fa439d3fa452be5e0e1e24a8145e715f4fd8b9c08c96a42fd82a855a85e5d57de9181900360600190a1505050565b50508585846040518084600160a060020a0316606060020a0281526014018381526020018280519060200190808383829060006004602084601f0104600f02600301f150905001935050505060405180910390208160070160005081905550600260005054603c024201816003016000508190555060008160040160006101000a81548160ff0219169083021790555060008160040160016101000a81548160ff02191690830217905550600081600501600050819055507f646fec02522b41e7125cfc859a64fd4f4cefd5dc3b6237ca0abe251ded1fa881828787876040518085815260200184600160a060020a03168152602001838152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f168015610cc45780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a1600182016005555b50949350505050565b6004805460018101808355909190828015829011610d1c57600a0281600a028360005260206000209182019101610d1c9190610db8565b505060048054929450918491508110156100025790600052602060002090600a02016000508054600160a060020a031916871781556001818101879055855160028381018054600082815260209081902096975091959481161561010002600019011691909104601f90810182900484019391890190839010610ed857805160ff19168380011785555b50610b6c929150610abb565b50506001015b80821115610acf578054600160a060020a03191681556000600182810182905560028381018054848255909281161561010002600019011604601f819010610e9c57505b5060006003830181905560048301805461ffff191690556005830181905560068301819055600783018190556008830180548282559082526020909120610db2916002028101905b80821115610acf57805474ffffffffffffffffffffffffffffffffffffffffff1916815560018181018054600080835592600290821615610100026000190190911604601f819010610eba57505b5050600101610e44565b601f016020900490600052602060002090810190610dfc9190610abb565b601f016020900490600052602060002090810190610e929190610abb565b82800160010185558215610da6579182015b82811115610da6578251826000505591602001919060010190610eea565b60008054600160a060020a0319168217905550565b600480548690811015610002576000918252600a027f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01905033600160a060020a0316600090815260098201602052604090205490915060ff1660011415610f8457610002565b33600160a060020a031660009081526009820160205260409020805460ff1916600190811790915560058201805490910190558315610fcd576006810180546001019055610fda565b6006810180546000190190555b7fc34f869b7ff431b034b7b9aea9822dac189a685e0b015c7d1be3add3f89128e8858533866040518085815260200184815260200183600160a060020a03168152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f16801561107a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a1509392505050565b6006810154600354901315611158578060000160009054906101000a9004600160a060020a0316600160a060020a03168160010160005054670de0b6b3a76400000284604051808280519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156111225780820380516001836020036101000a031916815260200191505b5091505060006040518083038185876185025a03f15050505060048101805460ff191660011761ff00191661010017905561116d565b60048101805460ff191660011761ff00191690555b60068101546005820154600483015460408051888152602081019490945283810192909252610100900460ff166060830152517fd220b7272a8b6d0d7d6bcdace67b936a8f175e6d5c1b3ee438b72256b32ab3af9181900360800190a1509291505056a66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688`}, []string{`[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"proposals","outputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"},{"name":"description","type":"string"},{"name":"votingDeadline","type":"uint256"},{"name":"executed","type":"bool"},{"name":"proposalPassed","type":"bool"},{"name":"numberOfVotes","type":"uint256"},{"name":"currentResult","type":"int256"},{"name":"proposalHash","type":"bytes32"}],"type":"function"},{"constant":false,"inputs":[{"name":"proposalNumber","type":"uint256"},{"name":"transactionBytecode","type":"bytes"}],"name":"executeProposal","outputs":[{"name":"result","type":"int256"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"memberId","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"numProposals","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"members","outputs":[{"name":"member","type":"address"},{"name":"canVote","type":"bool"},{"name":"name","type":"string"},{"name":"memberSince","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"debatingPeriodInMinutes","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"minimumQuorum","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"targetMember","type":"address"},{"name":"canVote","type":"bool"},{"name":"memberName","type":"string"}],"name":"changeMembership","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"majorityMargin","outputs":[{"name":"","type":"int256"}],"type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"},{"name":"etherAmount","type":"uint256"},{"name":"JobDescription","type":"string"},{"name":"transactionBytecode","type":"bytes"}],"name":"newProposal","outputs":[{"name":"proposalID","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"minimumQuorumForProposals","type":"uint256"},{"name":"minutesForDebate","type":"uint256"},{"name":"marginOfVotesForMajority","type":"int256"}],"name":"changeVotingRules","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"proposalNumber","type":"uint256"},{"name":"supportsProposal","type":"bool"},{"name":"justificationText","type":"string"}],"name":"vote","outputs":[{"name":"voteID","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[{"name":"proposalNumber","type":"uint256"},{"name":"beneficiary","type":"address"},{"name":"etherAmount","type":"uint256"},{"name":"transactionBytecode","type":"bytes"}],"name":"checkProposalCode","outputs":[{"name":"codeChecksOut","type":"bool"}],"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"type":"function"},{"inputs":[{"name":"minimumQuorumForProposals","type":"uint256"},{"name":"minutesForDebate","type":"uint256"},{"name":"marginOfVotesForMajority","type":"int256"},{"name":"congressLeader","type":"address"}],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"proposalID","type":"uint256"},{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"description","type":"string"}],"name":"ProposalAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"proposalID","type":"uint256"},{"indexed":false,"name":"position","type":"bool"},{"indexed":false,"name":"voter","type":"address"},{"indexed":false,"name":"justification","type":"string"}],"name":"Voted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"proposalID","type":"uint256"},{"indexed":false,"name":"result","type":"int256"},{"indexed":false,"name":"quorum","type":"uint256"},{"indexed":false,"name":"active","type":"bool"}],"name":"ProposalTallied","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"member","type":"address"},{"indexed":false,"name":"isMember","type":"bool"}],"name":"MembershipChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"minimumQuorum","type":"uint256"},{"indexed":false,"name":"debatingPeriodInMinutes","type":"uint256"},{"indexed":false,"name":"majorityMargin","type":"int256"}],"name":"ChangeOfRules","type":"event"}]`}, - `"github.com/ethereum/go-ethereum/common"`, + `"github.com/KP-Universe/go-kpu/common"`, ` if b, err := NewDAO(common.Address{}, nil); b == nil || err != nil { t.Fatalf("binding (%v) nil or error (%v) not nil", b, nil) @@ -128,7 +128,7 @@ var bindTests = []struct { ` "fmt" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" `, `if b, err := NewInputChecker(common.Address{}, nil); b == nil || err != nil { t.Fatalf("binding (%v) nil or error (%v) not nil", b, nil) @@ -166,7 +166,7 @@ var bindTests = []struct { ` "fmt" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" `, `if b, err := NewOutputChecker(common.Address{}, nil); b == nil || err != nil { t.Fatalf("binding (%v) nil or error (%v) not nil", b, nil) @@ -207,7 +207,7 @@ var bindTests = []struct { "math/big" "reflect" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" `, `if e, err := NewEventChecker(common.Address{}, nil); e == nil || err != nil { t.Fatalf("binding (%v) nil or error (%v) not nil", e, nil) @@ -287,10 +287,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -343,10 +343,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -389,10 +389,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -446,11 +446,11 @@ var bindTests = []struct { "math/big" "reflect" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -495,10 +495,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -562,10 +562,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -607,10 +607,10 @@ var bindTests = []struct { []string{`6060604052609f8060106000396000f3606060405260e060020a6000350463f97a60058114601a575b005b600060605260c0604052600d60809081527f4920646f6e27742065786973740000000000000000000000000000000000000060a052602060c0908152600d60e081905281906101009060a09080838184600060046012f15050815172ffffffffffffffffffffffffffffffffffffff1916909152505060405161012081900392509050f3`}, []string{`[{"constant":true,"inputs":[],"name":"String","outputs":[{"name":"","type":"string"}],"type":"function"}]`}, ` - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" `, ` // Create a simulator and wrap a non-deployed contract @@ -646,10 +646,10 @@ var bindTests = []struct { []string{`6080604052348015600f57600080fd5b5060888061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063d5f6622514602d575b600080fd5b6033604c565b6040805192835260208301919091528051918290030190f35b600a809156fea264697066735822beefbeefbeefbeefbeefbeefbeefbeefbeefbeefbeefbeefbeefbeefbeefbeefbeef64736f6c6343decafe0033`}, []string{`[{"inputs":[],"name":"Struct","outputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"stateMutability":"pure","type":"function"}]`}, ` - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" `, ` // Create a simulator and wrap a non-deployed contract @@ -694,10 +694,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -743,11 +743,11 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -819,10 +819,10 @@ var bindTests = []struct { "fmt" "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -912,11 +912,11 @@ var bindTests = []struct { "math/big" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -1103,10 +1103,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -1238,10 +1238,10 @@ var bindTests = []struct { "math/big" "reflect" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` @@ -1380,10 +1380,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -1446,10 +1446,10 @@ var bindTests = []struct { "math/big" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Initialize test accounts @@ -1534,10 +1534,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/core" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/core" `, ` // Initialize test accounts @@ -1597,10 +1597,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/core" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/core" `, ` key, _ := crypto.GenerateKey() @@ -1659,10 +1659,10 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` // Generate a new random account and a funded simulator @@ -1720,10 +1720,10 @@ var bindTests = []struct { "bytes" "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" `, ` key, _ := crypto.GenerateKey() @@ -1808,11 +1808,11 @@ var bindTests = []struct { ` "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/ethconfig" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/ethconfig" `, ` var ( @@ -1879,11 +1879,11 @@ var bindTests = []struct { "context" "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/ethconfig" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/ethconfig" `, ` var ( @@ -1932,11 +1932,11 @@ var bindTests = []struct { "context" "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/ethconfig" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/ethconfig" `, tester: ` var ( @@ -1981,11 +1981,11 @@ var bindTests = []struct { "context" "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/ethconfig" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/ethconfig" `, tester: ` var ( @@ -2022,11 +2022,11 @@ var bindTests = []struct { "context" "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/ethconfig" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/accounts/abi/bind/backends" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/ethconfig" `, tester: ` var ( @@ -2060,7 +2060,7 @@ var bindTests = []struct { bytecode: []string{"0x6080604052348015600f57600080fd5b5060958061001e6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80639d993132146041578063d02767c7146049578063ffa02795146051575b600080fd5b60476059565b005b604f605b565b005b6057605d565b005b565b565b56fea26469706673582212200382ca602dff96a7e2ba54657985e2b4ac423a56abe4a1f0667bc635c4d4371f64736f6c63430008110033"}, abi: []string{`[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_param","type":"address"}],"name":"_1TestEvent","type":"event"},{"inputs":[],"name":"_1test","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"__1test","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"__2test","outputs":[],"stateMutability":"pure","type":"function"}]`}, imports: ` - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" `, tester: ` if b, err := NewNumericMethodName(common.Address{}, nil); b == nil || err != nil { @@ -2128,7 +2128,7 @@ func TestGolangBindings(t *testing.T) { t.Fatalf("failed to convert binding test to modules: %v\n%s", err, out) } pwd, _ := os.Getwd() - replacer := exec.Command(gocmd, "mod", "edit", "-x", "-require", "github.com/ethereum/go-ethereum@v0.0.0", "-replace", "github.com/ethereum/go-ethereum="+filepath.Join(pwd, "..", "..", "..")) // Repo root + replacer := exec.Command(gocmd, "mod", "edit", "-x", "-require", "github.com/KP-Universe/go-kpu@v0.0.0", "-replace", "github.com/KP-Universe/go-kpu="+filepath.Join(pwd, "..", "..", "..")) // Repo root replacer.Dir = pkg if out, err := replacer.CombinedOutput(); err != nil { t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out) diff --git a/accounts/abi/bind/template.go b/accounts/abi/bind/template.go index 95dc13cc1..055eaf970 100644 --- a/accounts/abi/bind/template.go +++ b/accounts/abi/bind/template.go @@ -16,7 +16,7 @@ package bind -import "github.com/ethereum/go-ethereum/accounts/abi" +import "github.com/KP-Universe/go-kpu/accounts/abi" // tmplData is the data structure required to fill the binding template. type tmplData struct { @@ -91,12 +91,12 @@ import ( "strings" "errors" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" + ethereum "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/event" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/accounts/abi/bind/util.go b/accounts/abi/bind/util.go index b931fbb04..1f102cea8 100644 --- a/accounts/abi/bind/util.go +++ b/accounts/abi/bind/util.go @@ -21,10 +21,10 @@ import ( "errors" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" ) // WaitMined waits for tx to be mined on the blockchain. diff --git a/accounts/abi/bind/util_test.go b/accounts/abi/bind/util_test.go index 9fd919a29..5e27fc6ce 100644 --- a/accounts/abi/bind/util_test.go +++ b/accounts/abi/bind/util_test.go @@ -23,13 +23,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethclient/simulated" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethclient/simulated" + "github.com/KP-Universe/go-kpu/params" ) var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") diff --git a/accounts/abi/error.go b/accounts/abi/error.go index 8e50112ec..2de660f27 100644 --- a/accounts/abi/error.go +++ b/accounts/abi/error.go @@ -21,8 +21,8 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" ) type Error struct { diff --git a/accounts/abi/event.go b/accounts/abi/event.go index f9457b86a..bd005c8a3 100644 --- a/accounts/abi/event.go +++ b/accounts/abi/event.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" ) // Event is an event potentially triggered by the EVM's LOG mechanism. The Event diff --git a/accounts/abi/event_test.go b/accounts/abi/event_test.go index fffe28ea6..fea3b5aae 100644 --- a/accounts/abi/event_test.go +++ b/accounts/abi/event_test.go @@ -25,8 +25,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/accounts/abi/method.go b/accounts/abi/method.go index c5a1a71f4..10ad062a5 100644 --- a/accounts/abi/method.go +++ b/accounts/abi/method.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/crypto" ) // FunctionType represents different types of functions a contract might have. diff --git a/accounts/abi/pack.go b/accounts/abi/pack.go index beef1fa37..176e853cc 100644 --- a/accounts/abi/pack.go +++ b/accounts/abi/pack.go @@ -22,8 +22,8 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" ) // packBytesSlice packs the given bytes as [L, V] as the canonical representation diff --git a/accounts/abi/pack_test.go b/accounts/abi/pack_test.go index 00bdae469..a3dd8e6f4 100644 --- a/accounts/abi/pack_test.go +++ b/accounts/abi/pack_test.go @@ -27,7 +27,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // TestPack tests the general pack/unpack tests in packing_test.go diff --git a/accounts/abi/packing_test.go b/accounts/abi/packing_test.go index eae3b0df2..0a910d164 100644 --- a/accounts/abi/packing_test.go +++ b/accounts/abi/packing_test.go @@ -19,7 +19,7 @@ package abi import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) type packUnpackTest struct { diff --git a/accounts/abi/topics.go b/accounts/abi/topics.go index 7ce9b7273..e98962abf 100644 --- a/accounts/abi/topics.go +++ b/accounts/abi/topics.go @@ -23,9 +23,9 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" ) // MakeTopics converts a filter query argument list into a filter topic set. diff --git a/accounts/abi/topics_test.go b/accounts/abi/topics_test.go index 9e1efd382..f3a07e83f 100644 --- a/accounts/abi/topics_test.go +++ b/accounts/abi/topics_test.go @@ -22,8 +22,8 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" ) func TestMakeTopics(t *testing.T) { diff --git a/accounts/abi/type.go b/accounts/abi/type.go index 2eee11787..b58f68258 100644 --- a/accounts/abi/type.go +++ b/accounts/abi/type.go @@ -26,7 +26,7 @@ import ( "unicode" "unicode/utf8" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // Type enumerator diff --git a/accounts/abi/type_test.go b/accounts/abi/type_test.go index ae69872ad..5f8b4da99 100644 --- a/accounts/abi/type_test.go +++ b/accounts/abi/type_test.go @@ -22,7 +22,7 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // typeWithoutStringer is a alias for the Type type which simply doesn't implement diff --git a/accounts/abi/unpack.go b/accounts/abi/unpack.go index 905b5ce62..526bbc9f3 100644 --- a/accounts/abi/unpack.go +++ b/accounts/abi/unpack.go @@ -24,7 +24,7 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) var ( diff --git a/accounts/abi/unpack_test.go b/accounts/abi/unpack_test.go index 29891ec0a..1c1994960 100644 --- a/accounts/abi/unpack_test.go +++ b/accounts/abi/unpack_test.go @@ -27,7 +27,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" "github.com/stretchr/testify/require" ) diff --git a/accounts/accounts.go b/accounts/accounts.go index 6c351a964..d9028a6db 100644 --- a/accounts/accounts.go +++ b/accounts/accounts.go @@ -21,10 +21,10 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/event" "golang.org/x/crypto/sha3" ) diff --git a/accounts/accounts_test.go b/accounts/accounts_test.go index 2c4138aa7..c53d07f33 100644 --- a/accounts/accounts_test.go +++ b/accounts/accounts_test.go @@ -20,7 +20,7 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" ) func TestTextHash(t *testing.T) { diff --git a/accounts/external/backend.go b/accounts/external/backend.go index 6f1581f9b..d1278081c 100644 --- a/accounts/external/backend.go +++ b/accounts/external/backend.go @@ -22,15 +22,15 @@ import ( "math/big" "sync" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" ) type ExternalBackend struct { diff --git a/accounts/keystore/account_cache.go b/accounts/keystore/account_cache.go index 4ed143951..402658611 100644 --- a/accounts/keystore/account_cache.go +++ b/accounts/keystore/account_cache.go @@ -28,9 +28,9 @@ import ( "time" mapset "github.com/deckarep/golang-set/v2" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" "golang.org/x/exp/slices" ) diff --git a/accounts/keystore/account_cache_test.go b/accounts/keystore/account_cache_test.go index 48a238048..62a5fcc45 100644 --- a/accounts/keystore/account_cache_test.go +++ b/accounts/keystore/account_cache_test.go @@ -28,8 +28,8 @@ import ( "github.com/cespare/cp" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" "golang.org/x/exp/slices" ) diff --git a/accounts/keystore/file_cache.go b/accounts/keystore/file_cache.go index 63eb85037..cfd06923e 100644 --- a/accounts/keystore/file_cache.go +++ b/accounts/keystore/file_cache.go @@ -24,7 +24,7 @@ import ( "time" mapset "github.com/deckarep/golang-set/v2" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) // fileCache is a cache of files seen during scan of keystore. diff --git a/accounts/keystore/key.go b/accounts/keystore/key.go index 9b2ac1471..68419916e 100644 --- a/accounts/keystore/key.go +++ b/accounts/keystore/key.go @@ -28,9 +28,9 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" "github.com/google/uuid" ) diff --git a/accounts/keystore/keystore.go b/accounts/keystore/keystore.go index 0ffcf376a..5e19cb85e 100644 --- a/accounts/keystore/keystore.go +++ b/accounts/keystore/keystore.go @@ -32,11 +32,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/event" ) var ( diff --git a/accounts/keystore/keystore_test.go b/accounts/keystore/keystore_test.go index c9a23eddd..fa68144b9 100644 --- a/accounts/keystore/keystore_test.go +++ b/accounts/keystore/keystore_test.go @@ -26,10 +26,10 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/event" "golang.org/x/exp/slices" ) diff --git a/accounts/keystore/passphrase.go b/accounts/keystore/passphrase.go index e7a7f8d0c..95475728e 100644 --- a/accounts/keystore/passphrase.go +++ b/accounts/keystore/passphrase.go @@ -37,10 +37,10 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" "github.com/google/uuid" "golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/scrypt" diff --git a/accounts/keystore/passphrase_test.go b/accounts/keystore/passphrase_test.go index 20ec0f551..f7d72b258 100644 --- a/accounts/keystore/passphrase_test.go +++ b/accounts/keystore/passphrase_test.go @@ -20,7 +20,7 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) const ( diff --git a/accounts/keystore/plain.go b/accounts/keystore/plain.go index f62a133ce..b39942611 100644 --- a/accounts/keystore/plain.go +++ b/accounts/keystore/plain.go @@ -22,7 +22,7 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) type keyStorePlain struct { diff --git a/accounts/keystore/plain_test.go b/accounts/keystore/plain_test.go index 737eb7fd6..87e85a989 100644 --- a/accounts/keystore/plain_test.go +++ b/accounts/keystore/plain_test.go @@ -25,8 +25,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" ) func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) { diff --git a/accounts/keystore/presale.go b/accounts/keystore/presale.go index 0664dc2cd..9353031b6 100644 --- a/accounts/keystore/presale.go +++ b/accounts/keystore/presale.go @@ -25,8 +25,8 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/crypto" "github.com/google/uuid" "golang.org/x/crypto/pbkdf2" ) diff --git a/accounts/keystore/wallet.go b/accounts/keystore/wallet.go index 1066095f6..2aa29dbb4 100644 --- a/accounts/keystore/wallet.go +++ b/accounts/keystore/wallet.go @@ -19,10 +19,10 @@ package keystore import ( "math/big" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" ) // keystoreWallet implements the accounts.Wallet interface for the original diff --git a/accounts/keystore/watch.go b/accounts/keystore/watch.go index 1bef321cd..e8593e25c 100644 --- a/accounts/keystore/watch.go +++ b/accounts/keystore/watch.go @@ -23,7 +23,7 @@ import ( "os" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" "github.com/fsnotify/fsnotify" ) diff --git a/accounts/manager.go b/accounts/manager.go index cbe4f7c79..b8c1685e2 100644 --- a/accounts/manager.go +++ b/accounts/manager.go @@ -21,8 +21,8 @@ import ( "sort" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/event" ) // managerSubBufferSize determines how many incoming wallet events diff --git a/accounts/scwallet/hub.go b/accounts/scwallet/hub.go index f9dcf58e1..1167551ef 100644 --- a/accounts/scwallet/hub.go +++ b/accounts/scwallet/hub.go @@ -41,10 +41,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" pcsc "github.com/gballet/go-libpcsclite" ) diff --git a/accounts/scwallet/securechannel.go b/accounts/scwallet/securechannel.go index bbd8b2264..54411ce83 100644 --- a/accounts/scwallet/securechannel.go +++ b/accounts/scwallet/securechannel.go @@ -27,7 +27,7 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/crypto" pcsc "github.com/gballet/go-libpcsclite" "golang.org/x/crypto/pbkdf2" "golang.org/x/text/unicode/norm" diff --git a/accounts/scwallet/wallet.go b/accounts/scwallet/wallet.go index f0ca9085b..c16bc9907 100644 --- a/accounts/scwallet/wallet.go +++ b/accounts/scwallet/wallet.go @@ -33,12 +33,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" pcsc "github.com/gballet/go-libpcsclite" "github.com/status-im/keycard-go/derivationpath" ) diff --git a/accounts/usbwallet/hub.go b/accounts/usbwallet/hub.go index e67942dbc..0c5a22496 100644 --- a/accounts/usbwallet/hub.go +++ b/accounts/usbwallet/hub.go @@ -23,9 +23,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" "github.com/karalabe/usb" ) diff --git a/accounts/usbwallet/ledger.go b/accounts/usbwallet/ledger.go index d0cb93e74..cea4ecc83 100644 --- a/accounts/usbwallet/ledger.go +++ b/accounts/usbwallet/ledger.go @@ -28,13 +28,13 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" ) // ledgerOpcode is an enumeration encoding the supported Ledger opcodes. diff --git a/accounts/usbwallet/trezor.go b/accounts/usbwallet/trezor.go index 9644dc4e0..7bc137c65 100644 --- a/accounts/usbwallet/trezor.go +++ b/accounts/usbwallet/trezor.go @@ -27,12 +27,12 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/usbwallet/trezor" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/usbwallet/trezor" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" "github.com/golang/protobuf/proto" ) diff --git a/accounts/usbwallet/wallet.go b/accounts/usbwallet/wallet.go index 69083dc89..e003afa5a 100644 --- a/accounts/usbwallet/wallet.go +++ b/accounts/usbwallet/wallet.go @@ -25,12 +25,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" "github.com/karalabe/usb" ) diff --git a/beacon/engine/errors.go b/beacon/engine/errors.go index 62773a0ea..9afd4c9dc 100644 --- a/beacon/engine/errors.go +++ b/beacon/engine/errors.go @@ -17,8 +17,8 @@ package engine import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/rpc" ) // EngineAPIError is a standardized error message between consensus and execution diff --git a/beacon/engine/gen_blockparams.go b/beacon/engine/gen_blockparams.go index b1f01b50f..590494efa 100644 --- a/beacon/engine/gen_blockparams.go +++ b/beacon/engine/gen_blockparams.go @@ -6,9 +6,9 @@ import ( "encoding/json" "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" ) var _ = (*payloadAttributesMarshaling)(nil) diff --git a/beacon/engine/gen_ed.go b/beacon/engine/gen_ed.go index 6893d64a1..106b9eb14 100644 --- a/beacon/engine/gen_ed.go +++ b/beacon/engine/gen_ed.go @@ -7,9 +7,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" ) var _ = (*executableDataMarshaling)(nil) diff --git a/beacon/engine/gen_epe.go b/beacon/engine/gen_epe.go index e69f9a595..65210b080 100644 --- a/beacon/engine/gen_epe.go +++ b/beacon/engine/gen_epe.go @@ -7,7 +7,7 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*executionPayloadEnvelopeMarshaling)(nil) diff --git a/beacon/engine/types.go b/beacon/engine/types.go index f72319ad5..2ed218573 100644 --- a/beacon/engine/types.go +++ b/beacon/engine/types.go @@ -20,10 +20,10 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/trie" ) // PayloadVersion denotes the version of PayloadAttributes used to request the diff --git a/beacon/light/canonical.go b/beacon/light/canonical.go index b5371493b..83c3b9af7 100644 --- a/beacon/light/canonical.go +++ b/beacon/light/canonical.go @@ -20,10 +20,10 @@ import ( "encoding/binary" "fmt" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" ) // canonicalStore stores instances of the given type in a database and caches diff --git a/beacon/light/committee_chain.go b/beacon/light/committee_chain.go index d707f8cc3..3dac00fd7 100644 --- a/beacon/light/committee_chain.go +++ b/beacon/light/committee_chain.go @@ -23,14 +23,14 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/beacon/params" - "github.com/ethereum/go-ethereum/beacon/types" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/beacon/params" + "github.com/KP-Universe/go-kpu/beacon/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) var ( diff --git a/beacon/light/committee_chain_test.go b/beacon/light/committee_chain_test.go index 60ea2a0ef..88f204bf8 100644 --- a/beacon/light/committee_chain_test.go +++ b/beacon/light/committee_chain_test.go @@ -21,10 +21,10 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/beacon/params" - "github.com/ethereum/go-ethereum/beacon/types" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/beacon/params" + "github.com/KP-Universe/go-kpu/beacon/types" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" ) var ( diff --git a/beacon/light/test_helpers.go b/beacon/light/test_helpers.go index f537d963a..7a21876ca 100644 --- a/beacon/light/test_helpers.go +++ b/beacon/light/test_helpers.go @@ -21,10 +21,10 @@ import ( "crypto/sha256" mrand "math/rand" - "github.com/ethereum/go-ethereum/beacon/merkle" - "github.com/ethereum/go-ethereum/beacon/params" - "github.com/ethereum/go-ethereum/beacon/types" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/beacon/merkle" + "github.com/KP-Universe/go-kpu/beacon/params" + "github.com/KP-Universe/go-kpu/beacon/types" + "github.com/KP-Universe/go-kpu/common" ) func GenerateTestCommittee() *types.SerializedSyncCommittee { diff --git a/beacon/merkle/merkle.go b/beacon/merkle/merkle.go index 30896f9b0..b5cf9c792 100644 --- a/beacon/merkle/merkle.go +++ b/beacon/merkle/merkle.go @@ -22,8 +22,8 @@ import ( "errors" "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // Value represents either a 32 byte leaf value or hash node in a binary merkle tree/partial proof. diff --git a/beacon/types/committee.go b/beacon/types/committee.go index 5f89c2755..03be8a406 100644 --- a/beacon/types/committee.go +++ b/beacon/types/committee.go @@ -22,9 +22,9 @@ import ( "fmt" "math/bits" - "github.com/ethereum/go-ethereum/beacon/params" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/beacon/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" bls "github.com/protolambda/bls12-381-util" ) diff --git a/beacon/types/config.go b/beacon/types/config.go index 8cb8808b6..ca8355aed 100644 --- a/beacon/types/config.go +++ b/beacon/types/config.go @@ -24,9 +24,9 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/beacon/merkle" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/beacon/merkle" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" "gopkg.in/yaml.v3" ) diff --git a/beacon/types/gen_header_json.go b/beacon/types/gen_header_json.go index 9b3ffea06..408226550 100644 --- a/beacon/types/gen_header_json.go +++ b/beacon/types/gen_header_json.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) var _ = (*headerMarshaling)(nil) diff --git a/beacon/types/gen_syncaggregate_json.go b/beacon/types/gen_syncaggregate_json.go index 1547ec5f0..eb66d8c48 100644 --- a/beacon/types/gen_syncaggregate_json.go +++ b/beacon/types/gen_syncaggregate_json.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*syncAggregateMarshaling)(nil) diff --git a/beacon/types/header.go b/beacon/types/header.go index 2ddc4575f..2f1b42af8 100644 --- a/beacon/types/header.go +++ b/beacon/types/header.go @@ -21,9 +21,9 @@ import ( "crypto/sha256" "encoding/binary" - "github.com/ethereum/go-ethereum/beacon/merkle" - "github.com/ethereum/go-ethereum/beacon/params" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/beacon/merkle" + "github.com/KP-Universe/go-kpu/beacon/params" + "github.com/KP-Universe/go-kpu/common" ) //go:generate go run github.com/fjl/gencodec -type Header -field-override headerMarshaling -out gen_header_json.go diff --git a/beacon/types/light_sync.go b/beacon/types/light_sync.go index 3284081e4..29a693c4a 100644 --- a/beacon/types/light_sync.go +++ b/beacon/types/light_sync.go @@ -20,9 +20,9 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/beacon/merkle" - "github.com/ethereum/go-ethereum/beacon/params" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/beacon/merkle" + "github.com/KP-Universe/go-kpu/beacon/params" + "github.com/KP-Universe/go-kpu/common" ) // BootstrapData contains a sync committee where light sync can be started, diff --git a/build/ci.go b/build/ci.go index 1ffbf3074..5f451ddab 100644 --- a/build/ci.go +++ b/build/ci.go @@ -53,10 +53,10 @@ import ( "time" "github.com/cespare/cp" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto/signify" - "github.com/ethereum/go-ethereum/internal/build" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto/signify" + "github.com/KP-Universe/go-kpu/internal/build" + "github.com/KP-Universe/go-kpu/params" ) var ( @@ -245,8 +245,8 @@ func doInstall(cmdline []string) { func buildFlags(env build.Environment, staticLinking bool, buildTags []string) (flags []string) { var ld []string if env.Commit != "" { - ld = append(ld, "-X", "github.com/ethereum/go-ethereum/internal/version.gitCommit="+env.Commit) - ld = append(ld, "-X", "github.com/ethereum/go-ethereum/internal/version.gitDate="+env.Date) + ld = append(ld, "-X", "github.com/KP-Universe/go-kpu/internal/version.gitCommit="+env.Commit) + ld = append(ld, "-X", "github.com/KP-Universe/go-kpu/internal/version.gitDate="+env.Date) } // Strip DWARF on darwin. This used to be required for certain things, // and there is no downside to this, so we just keep doing it. diff --git a/cmd/abidump/main.go b/cmd/abidump/main.go index ae1ac6413..3c2bd4c8c 100644 --- a/cmd/abidump/main.go +++ b/cmd/abidump/main.go @@ -23,8 +23,8 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/fourbyte" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/signer/fourbyte" ) func init() { diff --git a/cmd/abigen/main.go b/cmd/abigen/main.go index 0149dec52..176c7fb86 100644 --- a/cmd/abigen/main.go +++ b/cmd/abigen/main.go @@ -24,12 +24,12 @@ import ( "regexp" "strings" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common/compiler" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common/compiler" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" "github.com/urfave/cli/v2" ) diff --git a/cmd/bootnode/main.go b/cmd/bootnode/main.go index 350b85df1..049f53518 100644 --- a/cmd/bootnode/main.go +++ b/cmd/bootnode/main.go @@ -25,13 +25,13 @@ import ( "os" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/discover" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/nat" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) func main() { diff --git a/cmd/clef/main.go b/cmd/clef/main.go index 50f7891a4..797a2530a 100644 --- a/cmd/clef/main.go +++ b/cmd/clef/main.go @@ -35,25 +35,25 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/fourbyte" - "github.com/ethereum/go-ethereum/signer/rules" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/signer/core" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/signer/fourbyte" + "github.com/KP-Universe/go-kpu/signer/rules" + "github.com/KP-Universe/go-kpu/signer/storage" "github.com/mattn/go-colorable" "github.com/mattn/go-isatty" "github.com/urfave/cli/v2" diff --git a/cmd/clef/run_test.go b/cmd/clef/run_test.go index 5fa6e02e1..1fd45d037 100644 --- a/cmd/clef/run_test.go +++ b/cmd/clef/run_test.go @@ -21,8 +21,8 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/internal/cmdtest" - "github.com/ethereum/go-ethereum/internal/reexec" + "github.com/KP-Universe/go-kpu/internal/cmdtest" + "github.com/KP-Universe/go-kpu/internal/reexec" ) const registeredName = "clef-test" diff --git a/cmd/devp2p/crawl.go b/cmd/devp2p/crawl.go index 4288a5feb..9e53fdcbf 100644 --- a/cmd/devp2p/crawl.go +++ b/cmd/devp2p/crawl.go @@ -22,8 +22,8 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" ) type crawler struct { diff --git a/cmd/devp2p/discv4cmd.go b/cmd/devp2p/discv4cmd.go index 45bcdcd36..1a04d2bf5 100644 --- a/cmd/devp2p/discv4cmd.go +++ b/cmd/devp2p/discv4cmd.go @@ -24,13 +24,13 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/cmd/devp2p/internal/v4test" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/cmd/devp2p/internal/v4test" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/p2p/discover" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/params" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/discv5cmd.go b/cmd/devp2p/discv5cmd.go index 0dac94526..44b3588e5 100644 --- a/cmd/devp2p/discv5cmd.go +++ b/cmd/devp2p/discv5cmd.go @@ -21,10 +21,10 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/cmd/devp2p/internal/v5test" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/KP-Universe/go-kpu/cmd/devp2p/internal/v5test" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/p2p/discover" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/dns_cloudflare.go b/cmd/devp2p/dns_cloudflare.go index a3cc69cf1..b509d8d72 100644 --- a/cmd/devp2p/dns_cloudflare.go +++ b/cmd/devp2p/dns_cloudflare.go @@ -23,8 +23,8 @@ import ( "strings" "github.com/cloudflare/cloudflare-go" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/dnsdisc" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/dnsdisc" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/dns_route53.go b/cmd/devp2p/dns_route53.go index 21a32f941..032abcc3c 100644 --- a/cmd/devp2p/dns_route53.go +++ b/cmd/devp2p/dns_route53.go @@ -29,8 +29,8 @@ import ( "github.com/aws/aws-sdk-go-v2/credentials" "github.com/aws/aws-sdk-go-v2/service/route53" "github.com/aws/aws-sdk-go-v2/service/route53/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/dnsdisc" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/dnsdisc" "github.com/urfave/cli/v2" "golang.org/x/exp/slices" ) diff --git a/cmd/devp2p/dnscmd.go b/cmd/devp2p/dnscmd.go index 0fce7b103..216c442b5 100644 --- a/cmd/devp2p/dnscmd.go +++ b/cmd/devp2p/dnscmd.go @@ -25,11 +25,11 @@ import ( "path/filepath" "time" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/p2p/dnsdisc" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/console/prompt" + "github.com/KP-Universe/go-kpu/p2p/dnsdisc" + "github.com/KP-Universe/go-kpu/p2p/enode" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/enrcmd.go b/cmd/devp2p/enrcmd.go index c5a97c841..b04462e45 100644 --- a/cmd/devp2p/enrcmd.go +++ b/cmd/devp2p/enrcmd.go @@ -28,9 +28,9 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/internal/ethtest/chain.go b/cmd/devp2p/internal/ethtest/chain.go index e8b3725b1..e29408487 100644 --- a/cmd/devp2p/internal/ethtest/chain.go +++ b/cmd/devp2p/internal/ethtest/chain.go @@ -30,16 +30,16 @@ import ( "sort" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/forkid" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/exp/slices" ) diff --git a/cmd/devp2p/internal/ethtest/chain_test.go b/cmd/devp2p/internal/ethtest/chain_test.go index 62bd6d26e..49de44980 100644 --- a/cmd/devp2p/internal/ethtest/chain_test.go +++ b/cmd/devp2p/internal/ethtest/chain_test.go @@ -21,9 +21,9 @@ import ( "strconv" "testing" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/p2p" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/p2p" "github.com/stretchr/testify/assert" ) diff --git a/cmd/devp2p/internal/ethtest/conn.go b/cmd/devp2p/internal/ethtest/conn.go index 2d36ccb42..375a4c94f 100644 --- a/cmd/devp2p/internal/ethtest/conn.go +++ b/cmd/devp2p/internal/ethtest/conn.go @@ -25,12 +25,12 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/rlpx" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/rlpx" + "github.com/KP-Universe/go-kpu/rlp" ) var ( diff --git a/cmd/devp2p/internal/ethtest/engine.go b/cmd/devp2p/internal/ethtest/engine.go index ea4fc76e6..5e739dbce 100644 --- a/cmd/devp2p/internal/ethtest/engine.go +++ b/cmd/devp2p/internal/ethtest/engine.go @@ -25,7 +25,7 @@ import ( "path" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" "github.com/golang-jwt/jwt/v4" ) diff --git a/cmd/devp2p/internal/ethtest/protocol.go b/cmd/devp2p/internal/ethtest/protocol.go index f5f5f7e48..b11e72a77 100644 --- a/cmd/devp2p/internal/ethtest/protocol.go +++ b/cmd/devp2p/internal/ethtest/protocol.go @@ -16,8 +16,8 @@ package ethtest import ( - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/rlp" ) // Unexported devp2p message codes from p2p/peer.go. diff --git a/cmd/devp2p/internal/ethtest/snap.go b/cmd/devp2p/internal/ethtest/snap.go index 64e063358..6c039e0a3 100644 --- a/cmd/devp2p/internal/ethtest/snap.go +++ b/cmd/devp2p/internal/ethtest/snap.go @@ -24,14 +24,14 @@ import ( "math/rand" "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/internal/utesting" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/trienode" "golang.org/x/crypto/sha3" ) diff --git a/cmd/devp2p/internal/ethtest/suite.go b/cmd/devp2p/internal/ethtest/suite.go index 4f499d41d..b959265d1 100644 --- a/cmd/devp2p/internal/ethtest/suite.go +++ b/cmd/devp2p/internal/ethtest/suite.go @@ -21,15 +21,15 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/internal/utesting" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" "github.com/holiman/uint256" ) diff --git a/cmd/devp2p/internal/ethtest/suite_test.go b/cmd/devp2p/internal/ethtest/suite_test.go index ad73bc9f9..58d11b923 100644 --- a/cmd/devp2p/internal/ethtest/suite_test.go +++ b/cmd/devp2p/internal/ethtest/suite_test.go @@ -24,14 +24,14 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/catalyst" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/catalyst" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/internal/utesting" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" ) func makeJWTSecret() (string, [32]byte, error) { diff --git a/cmd/devp2p/internal/ethtest/transaction.go b/cmd/devp2p/internal/ethtest/transaction.go index 0ea7c3275..be74cda17 100644 --- a/cmd/devp2p/internal/ethtest/transaction.go +++ b/cmd/devp2p/internal/ethtest/transaction.go @@ -22,9 +22,9 @@ import ( "os" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" ) // sendTxs sends the given transactions to the node and diff --git a/cmd/devp2p/internal/v4test/discv4tests.go b/cmd/devp2p/internal/v4test/discv4tests.go index ca556851b..f7280d79d 100644 --- a/cmd/devp2p/internal/v4test/discv4tests.go +++ b/cmd/devp2p/internal/v4test/discv4tests.go @@ -24,9 +24,9 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/p2p/discover/v4wire" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/utesting" + "github.com/KP-Universe/go-kpu/p2p/discover/v4wire" ) const ( diff --git a/cmd/devp2p/internal/v4test/framework.go b/cmd/devp2p/internal/v4test/framework.go index 928659418..97d93b209 100644 --- a/cmd/devp2p/internal/v4test/framework.go +++ b/cmd/devp2p/internal/v4test/framework.go @@ -22,9 +22,9 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/discover/v4wire" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/discover/v4wire" + "github.com/KP-Universe/go-kpu/p2p/enode" ) const waitTime = 300 * time.Millisecond diff --git a/cmd/devp2p/internal/v5test/discv5tests.go b/cmd/devp2p/internal/v5test/discv5tests.go index 56624a0ca..495a2c2d9 100644 --- a/cmd/devp2p/internal/v5test/discv5tests.go +++ b/cmd/devp2p/internal/v5test/discv5tests.go @@ -22,10 +22,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/p2p/discover/v5wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/internal/utesting" + "github.com/KP-Universe/go-kpu/p2p/discover/v5wire" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) // Suite is the discv5 test suite. diff --git a/cmd/devp2p/internal/v5test/framework.go b/cmd/devp2p/internal/v5test/framework.go index 10856a50b..807a69f73 100644 --- a/cmd/devp2p/internal/v5test/framework.go +++ b/cmd/devp2p/internal/v5test/framework.go @@ -24,11 +24,11 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/discover/v5wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/discover/v5wire" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" ) // readError represents an error during packet reading. diff --git a/cmd/devp2p/keycmd.go b/cmd/devp2p/keycmd.go index 98d7bd76a..2d2470d0e 100644 --- a/cmd/devp2p/keycmd.go +++ b/cmd/devp2p/keycmd.go @@ -21,9 +21,9 @@ import ( "fmt" "net" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/main.go b/cmd/devp2p/main.go index 8461a8b9b..b49ef3ab5 100644 --- a/cmd/devp2p/main.go +++ b/cmd/devp2p/main.go @@ -20,9 +20,9 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/internal/debug" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/p2p/enode" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/nodeset.go b/cmd/devp2p/nodeset.go index 7360dc5bc..75a050434 100644 --- a/cmd/devp2p/nodeset.go +++ b/cmd/devp2p/nodeset.go @@ -23,8 +23,8 @@ import ( "os" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/p2p/enode" "golang.org/x/exp/slices" ) diff --git a/cmd/devp2p/nodesetcmd.go b/cmd/devp2p/nodesetcmd.go index 3c9df5134..018937afc 100644 --- a/cmd/devp2p/nodesetcmd.go +++ b/cmd/devp2p/nodesetcmd.go @@ -25,11 +25,11 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/forkid" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/rlpxcmd.go b/cmd/devp2p/rlpxcmd.go index aa7d06581..21257669f 100644 --- a/cmd/devp2p/rlpxcmd.go +++ b/cmd/devp2p/rlpxcmd.go @@ -21,12 +21,12 @@ import ( "fmt" "net" - "github.com/ethereum/go-ethereum/cmd/devp2p/internal/ethtest" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/rlpx" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/cmd/devp2p/internal/ethtest" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/rlpx" + "github.com/KP-Universe/go-kpu/rlp" "github.com/urfave/cli/v2" ) diff --git a/cmd/devp2p/runtest.go b/cmd/devp2p/runtest.go index 7e3723c64..619328c46 100644 --- a/cmd/devp2p/runtest.go +++ b/cmd/devp2p/runtest.go @@ -19,10 +19,10 @@ package main import ( "os" - "github.com/ethereum/go-ethereum/cmd/devp2p/internal/v4test" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/internal/utesting" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/cmd/devp2p/internal/v4test" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/internal/utesting" + "github.com/KP-Universe/go-kpu/log" "github.com/urfave/cli/v2" ) diff --git a/cmd/ethkey/changepassword.go b/cmd/ethkey/changepassword.go index 4298e2b83..37f2d319b 100644 --- a/cmd/ethkey/changepassword.go +++ b/cmd/ethkey/changepassword.go @@ -21,8 +21,8 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/cmd/utils" "github.com/urfave/cli/v2" ) diff --git a/cmd/ethkey/generate.go b/cmd/ethkey/generate.go index 60d8b3c77..a077e2518 100644 --- a/cmd/ethkey/generate.go +++ b/cmd/ethkey/generate.go @@ -22,9 +22,9 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/crypto" "github.com/google/uuid" "github.com/urfave/cli/v2" ) diff --git a/cmd/ethkey/inspect.go b/cmd/ethkey/inspect.go index 29b1c13e8..b5968d133 100644 --- a/cmd/ethkey/inspect.go +++ b/cmd/ethkey/inspect.go @@ -21,9 +21,9 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/crypto" "github.com/urfave/cli/v2" ) diff --git a/cmd/ethkey/main.go b/cmd/ethkey/main.go index 25c0d104f..033494b3f 100644 --- a/cmd/ethkey/main.go +++ b/cmd/ethkey/main.go @@ -20,7 +20,7 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/internal/flags" + "github.com/KP-Universe/go-kpu/internal/flags" "github.com/urfave/cli/v2" ) diff --git a/cmd/ethkey/message.go b/cmd/ethkey/message.go index 6b8dec03c..f8007258a 100644 --- a/cmd/ethkey/message.go +++ b/cmd/ethkey/message.go @@ -21,11 +21,11 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" "github.com/urfave/cli/v2" ) diff --git a/cmd/ethkey/run_test.go b/cmd/ethkey/run_test.go index 73506e5da..2edb59908 100644 --- a/cmd/ethkey/run_test.go +++ b/cmd/ethkey/run_test.go @@ -21,8 +21,8 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/internal/cmdtest" - "github.com/ethereum/go-ethereum/internal/reexec" + "github.com/KP-Universe/go-kpu/internal/cmdtest" + "github.com/KP-Universe/go-kpu/internal/reexec" ) type testEthkey struct { diff --git a/cmd/ethkey/utils.go b/cmd/ethkey/utils.go index 282114508..faeb4e855 100644 --- a/cmd/ethkey/utils.go +++ b/cmd/ethkey/utils.go @@ -22,7 +22,7 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" + "github.com/KP-Universe/go-kpu/cmd/utils" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/blockrunner.go b/cmd/evm/blockrunner.go index c5d836e0e..56a70bf1b 100644 --- a/cmd/evm/blockrunner.go +++ b/cmd/evm/blockrunner.go @@ -24,11 +24,11 @@ import ( "regexp" "sort" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/tests" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/compiler.go b/cmd/evm/compiler.go index c071834b5..65220854a 100644 --- a/cmd/evm/compiler.go +++ b/cmd/evm/compiler.go @@ -21,7 +21,7 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/cmd/evm/internal/compiler" + "github.com/KP-Universe/go-kpu/cmd/evm/internal/compiler" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/disasm.go b/cmd/evm/disasm.go index b1f35cbaf..14e77b582 100644 --- a/cmd/evm/disasm.go +++ b/cmd/evm/disasm.go @@ -22,7 +22,7 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/core/asm" + "github.com/KP-Universe/go-kpu/core/asm" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/internal/compiler/compiler.go b/cmd/evm/internal/compiler/compiler.go index 54981b669..9d5099989 100644 --- a/cmd/evm/internal/compiler/compiler.go +++ b/cmd/evm/internal/compiler/compiler.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/core/asm" + "github.com/KP-Universe/go-kpu/core/asm" ) func Compile(fn string, src []byte, debug bool) (string, error) { diff --git a/cmd/evm/internal/t8ntool/block.go b/cmd/evm/internal/t8ntool/block.go index a2dc47343..1951c894f 100644 --- a/cmd/evm/internal/t8ntool/block.go +++ b/cmd/evm/internal/t8ntool/block.go @@ -24,13 +24,13 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/clique" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/internal/t8ntool/execution.go b/cmd/evm/internal/t8ntool/execution.go index 1ae093b61..62bb92b8c 100644 --- a/cmd/evm/internal/t8ntool/execution.go +++ b/cmd/evm/internal/t8ntool/execution.go @@ -20,22 +20,22 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/consensus/misc" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" "golang.org/x/crypto/sha3" ) diff --git a/cmd/evm/internal/t8ntool/flags.go b/cmd/evm/internal/t8ntool/flags.go index c2eca8cc2..c0a85fb6c 100644 --- a/cmd/evm/internal/t8ntool/flags.go +++ b/cmd/evm/internal/t8ntool/flags.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/tests" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/internal/t8ntool/gen_header.go b/cmd/evm/internal/t8ntool/gen_header.go index a8c866897..a47292366 100644 --- a/cmd/evm/internal/t8ntool/gen_header.go +++ b/cmd/evm/internal/t8ntool/gen_header.go @@ -7,10 +7,10 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" ) var _ = (*headerMarshaling)(nil) diff --git a/cmd/evm/internal/t8ntool/gen_stenv.go b/cmd/evm/internal/t8ntool/gen_stenv.go index d47db4a87..4f6f40c6c 100644 --- a/cmd/evm/internal/t8ntool/gen_stenv.go +++ b/cmd/evm/internal/t8ntool/gen_stenv.go @@ -7,9 +7,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" ) var _ = (*stEnvMarshaling)(nil) diff --git a/cmd/evm/internal/t8ntool/tracewriter.go b/cmd/evm/internal/t8ntool/tracewriter.go index e4efad112..2c10a4fe4 100644 --- a/cmd/evm/internal/t8ntool/tracewriter.go +++ b/cmd/evm/internal/t8ntool/tracewriter.go @@ -21,10 +21,10 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/log" ) // traceWriter is an vm.EVMLogger which also holds an inner logger/tracer. diff --git a/cmd/evm/internal/t8ntool/transaction.go b/cmd/evm/internal/t8ntool/transaction.go index 8533b7863..ff6007943 100644 --- a/cmd/evm/internal/t8ntool/transaction.go +++ b/cmd/evm/internal/t8ntool/transaction.go @@ -24,13 +24,13 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/tests" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/internal/t8ntool/transition.go b/cmd/evm/internal/t8ntool/transition.go index 31e96894d..996be91b3 100644 --- a/cmd/evm/internal/t8ntool/transition.go +++ b/cmd/evm/internal/t8ntool/transition.go @@ -24,18 +24,18 @@ import ( "os" "path" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/tests" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/internal/t8ntool/tx_iterator.go b/cmd/evm/internal/t8ntool/tx_iterator.go index 8f28dc702..368dafd42 100644 --- a/cmd/evm/internal/t8ntool/tx_iterator.go +++ b/cmd/evm/internal/t8ntool/tx_iterator.go @@ -25,12 +25,12 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) // txWithKey is a helper-struct, to allow us to use the types.Transaction along with diff --git a/cmd/evm/main.go b/cmd/evm/main.go index c3e6a4af9..d34dc62c1 100644 --- a/cmd/evm/main.go +++ b/cmd/evm/main.go @@ -22,14 +22,14 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/cmd/evm/internal/t8ntool" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/internal/flags" + "github.com/KP-Universe/go-kpu/cmd/evm/internal/t8ntool" + "github.com/KP-Universe/go-kpu/internal/debug" + "github.com/KP-Universe/go-kpu/internal/flags" "github.com/urfave/cli/v2" // Force-load the tracer engines to trigger registration - _ "github.com/ethereum/go-ethereum/eth/tracers/js" - _ "github.com/ethereum/go-ethereum/eth/tracers/native" + _ "github.com/KP-Universe/go-kpu/eth/tracers/js" + _ "github.com/KP-Universe/go-kpu/eth/tracers/native" ) var ( diff --git a/cmd/evm/runner.go b/cmd/evm/runner.go index f3ffb3ed9..16edc2ab3 100644 --- a/cmd/evm/runner.go +++ b/cmd/evm/runner.go @@ -27,19 +27,19 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/cmd/evm/internal/compiler" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/core/vm/runtime" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/cmd/evm/internal/compiler" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/core/vm/runtime" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/staterunner.go b/cmd/evm/staterunner.go index 6e751b630..f75a3fe18 100644 --- a/cmd/evm/staterunner.go +++ b/cmd/evm/staterunner.go @@ -22,13 +22,13 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/tests" "github.com/urfave/cli/v2" ) diff --git a/cmd/evm/t8n_test.go b/cmd/evm/t8n_test.go index ad36540de..b6aaac076 100644 --- a/cmd/evm/t8n_test.go +++ b/cmd/evm/t8n_test.go @@ -24,9 +24,9 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/cmd/evm/internal/t8ntool" - "github.com/ethereum/go-ethereum/internal/cmdtest" - "github.com/ethereum/go-ethereum/internal/reexec" + "github.com/KP-Universe/go-kpu/cmd/evm/internal/t8ntool" + "github.com/KP-Universe/go-kpu/internal/cmdtest" + "github.com/KP-Universe/go-kpu/internal/reexec" ) func TestMain(m *testing.M) { diff --git a/cmd/kpu/accountcmd.go b/cmd/kpu/accountcmd.go index cc22684e0..513ee52b9 100644 --- a/cmd/kpu/accountcmd.go +++ b/cmd/kpu/accountcmd.go @@ -20,11 +20,11 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/chaincmd.go b/cmd/kpu/chaincmd.go index 3b4f516af..32f823777 100644 --- a/cmd/kpu/chaincmd.go +++ b/cmd/kpu/chaincmd.go @@ -26,19 +26,19 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/node" "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/config.go b/cmd/kpu/config.go index 5f52f1df5..161f18f13 100644 --- a/cmd/kpu/config.go +++ b/cmd/kpu/config.go @@ -26,23 +26,23 @@ import ( "strings" "unicode" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/external" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/accounts/scwallet" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/eth/catalyst" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/internal/version" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/external" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/accounts/scwallet" + "github.com/KP-Universe/go-kpu/accounts/usbwallet" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/eth/catalyst" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/internal/version" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/params" "github.com/naoina/toml" "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/consolecmd.go b/cmd/kpu/consolecmd.go index 526ede961..7d584a098 100644 --- a/cmd/kpu/consolecmd.go +++ b/cmd/kpu/consolecmd.go @@ -20,9 +20,9 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/internal/flags" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/console" + "github.com/KP-Universe/go-kpu/internal/flags" "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/consolecmd_test.go b/cmd/kpu/consolecmd_test.go index ef6ef5f28..cd0803392 100644 --- a/cmd/kpu/consolecmd_test.go +++ b/cmd/kpu/consolecmd_test.go @@ -26,7 +26,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) const ( diff --git a/cmd/kpu/dbcmd.go b/cmd/kpu/dbcmd.go index 1d885bd58..cd6bb048c 100644 --- a/cmd/kpu/dbcmd.go +++ b/cmd/kpu/dbcmd.go @@ -27,17 +27,17 @@ import ( "syscall" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/console/prompt" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie" "github.com/olekukonko/tablewriter" "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/exportcmd_test.go b/cmd/kpu/exportcmd_test.go index 9570b1ffd..b90cfebc2 100644 --- a/cmd/kpu/exportcmd_test.go +++ b/cmd/kpu/exportcmd_test.go @@ -22,7 +22,7 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // TestExport does a basic test of "geth export", exporting the test-genesis. diff --git a/cmd/kpu/logging_test.go b/cmd/kpu/logging_test.go index b5ce03f4b..071e86b12 100644 --- a/cmd/kpu/logging_test.go +++ b/cmd/kpu/logging_test.go @@ -30,7 +30,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/internal/reexec" + "github.com/KP-Universe/go-kpu/internal/reexec" ) func runSelf(args ...string) ([]byte, error) { diff --git a/cmd/kpu/logtestcmd_active.go b/cmd/kpu/logtestcmd_active.go index f2a2c5ded..1000cb377 100644 --- a/cmd/kpu/logtestcmd_active.go +++ b/cmd/kpu/logtestcmd_active.go @@ -25,8 +25,8 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" "github.com/holiman/uint256" "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/main.go b/cmd/kpu/main.go index 0fd0cc209..b34b23d39 100644 --- a/cmd/kpu/main.go +++ b/cmd/kpu/main.go @@ -25,25 +25,25 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/console/prompt" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/ethclient" + "github.com/KP-Universe/go-kpu/internal/debug" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/node" "go.uber.org/automaxprocs/maxprocs" // Force-load the tracer engines to trigger registration - _ "github.com/ethereum/go-ethereum/eth/tracers/js" - _ "github.com/ethereum/go-ethereum/eth/tracers/native" + _ "github.com/KP-Universe/go-kpu/eth/tracers/js" + _ "github.com/KP-Universe/go-kpu/eth/tracers/native" "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/misccmd.go b/cmd/kpu/misccmd.go index f3530c30f..7a2fa1d45 100644 --- a/cmd/kpu/misccmd.go +++ b/cmd/kpu/misccmd.go @@ -22,8 +22,8 @@ import ( "runtime" "strings" - "github.com/ethereum/go-ethereum/internal/version" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/internal/version" + "github.com/KP-Universe/go-kpu/params" "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/run_test.go b/cmd/kpu/run_test.go index 1d3288032..747aff9f6 100644 --- a/cmd/kpu/run_test.go +++ b/cmd/kpu/run_test.go @@ -23,9 +23,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/internal/cmdtest" - "github.com/ethereum/go-ethereum/internal/reexec" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/internal/cmdtest" + "github.com/KP-Universe/go-kpu/internal/reexec" + "github.com/KP-Universe/go-kpu/rpc" ) type testgeth struct { diff --git a/cmd/kpu/snapshot.go b/cmd/kpu/snapshot.go index 4284005a0..2c069792f 100644 --- a/cmd/kpu/snapshot.go +++ b/cmd/kpu/snapshot.go @@ -24,18 +24,18 @@ import ( "os" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/state/pruner" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/state/pruner" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" cli "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/verkle.go b/cmd/kpu/verkle.go index 420b063d8..8dcfb2476 100644 --- a/cmd/kpu/verkle.go +++ b/cmd/kpu/verkle.go @@ -23,11 +23,11 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/cmd/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" "github.com/gballet/go-verkle" cli "github.com/urfave/cli/v2" ) diff --git a/cmd/kpu/version_check.go b/cmd/kpu/version_check.go index 237556788..100edf302 100644 --- a/cmd/kpu/version_check.go +++ b/cmd/kpu/version_check.go @@ -26,7 +26,7 @@ import ( "regexp" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" "github.com/jedisct1/go-minisign" "github.com/urfave/cli/v2" ) diff --git a/cmd/p2psim/main.go b/cmd/p2psim/main.go index a0f5f0d28..fe72fb915 100644 --- a/cmd/p2psim/main.go +++ b/cmd/p2psim/main.go @@ -44,13 +44,13 @@ import ( "strings" "text/tabwriter" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations" + "github.com/KP-Universe/go-kpu/p2p/simulations/adapters" + "github.com/KP-Universe/go-kpu/rpc" "github.com/urfave/cli/v2" ) diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go index 7e1d314d4..2ed64dd7a 100644 --- a/cmd/rlpdump/main.go +++ b/cmd/rlpdump/main.go @@ -30,8 +30,8 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/rlp" ) var ( diff --git a/cmd/rlpdump/rlpdump_test.go b/cmd/rlpdump/rlpdump_test.go index 4b0ae680a..f5a341250 100644 --- a/cmd/rlpdump/rlpdump_test.go +++ b/cmd/rlpdump/rlpdump_test.go @@ -22,8 +22,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) func TestRoundtrip(t *testing.T) { diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 8b571be1e..35fa6aa27 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -30,18 +30,18 @@ import ( "syscall" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/internal/debug" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/rlp" "github.com/urfave/cli/v2" ) diff --git a/cmd/utils/export_test.go b/cmd/utils/export_test.go index 84ba8d0c3..3740ff03d 100644 --- a/cmd/utils/export_test.go +++ b/cmd/utils/export_test.go @@ -23,8 +23,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/rlp" ) // TestExport does basic sanity checks on the export/import functionality diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 38494fa87..c3246ec55 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -34,44 +34,44 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/fdlimit" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/txpool/legacypool" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/catalyst" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/remotedb" - "github.com/ethereum/go-ethereum/ethstats" - "github.com/ethereum/go-ethereum/graphql" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/exp" - "github.com/ethereum/go-ethereum/metrics/influxdb" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/fdlimit" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/txpool/legacypool" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/catalyst" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/eth/filters" + "github.com/KP-Universe/go-kpu/eth/gasprice" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/ethdb/remotedb" + "github.com/KP-Universe/go-kpu/ethstats" + "github.com/KP-Universe/go-kpu/graphql" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/metrics/exp" + "github.com/KP-Universe/go-kpu/metrics/influxdb" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/nat" + "github.com/KP-Universe/go-kpu/p2p/netutil" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" pcsclite "github.com/gballet/go-libpcsclite" gopsutil "github.com/shirou/gopsutil/mem" "github.com/urfave/cli/v2" diff --git a/cmd/utils/flags_legacy.go b/cmd/utils/flags_legacy.go index 243abd831..ce644e133 100644 --- a/cmd/utils/flags_legacy.go +++ b/cmd/utils/flags_legacy.go @@ -19,8 +19,8 @@ package utils import ( "fmt" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/internal/flags" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/internal/flags" "github.com/urfave/cli/v2" ) diff --git a/cmd/utils/prompt.go b/cmd/utils/prompt.go index f513e3818..cbd9f7f3a 100644 --- a/cmd/utils/prompt.go +++ b/cmd/utils/prompt.go @@ -20,7 +20,7 @@ package utils import ( "fmt" - "github.com/ethereum/go-ethereum/console/prompt" + "github.com/KP-Universe/go-kpu/console/prompt" ) // GetPassPhrase displays the given text(prompt) to the user and requests some textual diff --git a/common/bitutil/compress_test.go b/common/bitutil/compress_test.go index c6f6fe8bc..63d777241 100644 --- a/common/bitutil/compress_test.go +++ b/common/bitutil/compress_test.go @@ -22,7 +22,7 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // Tests that data bitset encoding and decoding works and is bijective. diff --git a/common/bytes.go b/common/bytes.go index d1f5c6c99..b42988abf 100644 --- a/common/bytes.go +++ b/common/bytes.go @@ -21,7 +21,7 @@ import ( "encoding/hex" "errors" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // FromHex returns the bytes represented by the hexadecimal string s. diff --git a/common/hexutil/json_example_test.go b/common/hexutil/json_example_test.go index 80180d918..97d9449f3 100644 --- a/common/hexutil/json_example_test.go +++ b/common/hexutil/json_example_test.go @@ -20,7 +20,7 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" ) type MyType [5]byte diff --git a/common/math/big_test.go b/common/math/big_test.go index 803b5e1cc..49e7978c5 100644 --- a/common/math/big_test.go +++ b/common/math/big_test.go @@ -22,7 +22,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func TestHexOrDecimal256(t *testing.T) { diff --git a/common/prque/lazyqueue.go b/common/prque/lazyqueue.go index 59bda72fa..4449e96e2 100644 --- a/common/prque/lazyqueue.go +++ b/common/prque/lazyqueue.go @@ -20,7 +20,7 @@ import ( "container/heap" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/KP-Universe/go-kpu/common/mclock" "golang.org/x/exp/constraints" ) diff --git a/common/prque/lazyqueue_test.go b/common/prque/lazyqueue_test.go index ffb7e5e9e..a230d6264 100644 --- a/common/prque/lazyqueue_test.go +++ b/common/prque/lazyqueue_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/KP-Universe/go-kpu/common/mclock" ) const ( diff --git a/common/types.go b/common/types.go index aadca87f8..1ae2ca2ea 100644 --- a/common/types.go +++ b/common/types.go @@ -29,7 +29,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" "golang.org/x/crypto/sha3" ) diff --git a/consensus/beacon/consensus.go b/consensus/beacon/consensus.go index a350e383a..0076e7227 100644 --- a/consensus/beacon/consensus.go +++ b/consensus/beacon/consensus.go @@ -21,15 +21,15 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" ) diff --git a/consensus/beacon/faker.go b/consensus/beacon/faker.go index 981e345e3..00086de0a 100644 --- a/consensus/beacon/faker.go +++ b/consensus/beacon/faker.go @@ -19,8 +19,8 @@ package beacon import ( "math/big" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core/types" ) // NewFaker creates a fake consensus engine for testing. diff --git a/consensus/clique/api.go b/consensus/clique/api.go index 374b50692..f60586d67 100644 --- a/consensus/clique/api.go +++ b/consensus/clique/api.go @@ -20,12 +20,12 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/rpc" ) // API is a user facing RPC API to allow controlling the signer and voting diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go index c693189ea..1fad9876e 100644 --- a/consensus/clique/clique.go +++ b/consensus/clique/clique.go @@ -27,22 +27,22 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - lru "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + lru "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/trie" "golang.org/x/crypto/sha3" ) diff --git a/consensus/clique/clique_test.go b/consensus/clique/clique_test.go index 7cd5919c5..f51ea75de 100644 --- a/consensus/clique/clique_test.go +++ b/consensus/clique/clique_test.go @@ -20,13 +20,13 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" ) // This test case is a repro of an annoying bug that took us forever to catch. diff --git a/consensus/clique/snapshot.go b/consensus/clique/snapshot.go index a97115121..54ce0e1b5 100644 --- a/consensus/clique/snapshot.go +++ b/consensus/clique/snapshot.go @@ -21,13 +21,13 @@ import ( "encoding/json" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" "golang.org/x/exp/slices" ) diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go index 26cebe008..907cf606b 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -23,13 +23,13 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" "golang.org/x/exp/slices" ) diff --git a/consensus/consensus.go b/consensus/consensus.go index 3a2c2d222..d28671073 100644 --- a/consensus/consensus.go +++ b/consensus/consensus.go @@ -20,11 +20,11 @@ package consensus import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) // ChainHeaderReader defines a small collection of methods needed to access the local diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index c2936fd4b..53db9e73f 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -23,16 +23,16 @@ import ( "time" mapset "github.com/deckarep/golang-set/v2" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" "golang.org/x/crypto/sha3" ) diff --git a/consensus/ethash/consensus_test.go b/consensus/ethash/consensus_test.go index e3793cd1b..90916570b 100644 --- a/consensus/ethash/consensus_test.go +++ b/consensus/ethash/consensus_test.go @@ -26,10 +26,10 @@ import ( "path/filepath" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" ) type diffTest struct { diff --git a/consensus/ethash/difficulty.go b/consensus/ethash/difficulty.go index 66a18059c..a927b374f 100644 --- a/consensus/ethash/difficulty.go +++ b/consensus/ethash/difficulty.go @@ -19,7 +19,7 @@ package ethash import ( "math/big" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/core/types" "github.com/holiman/uint256" ) diff --git a/consensus/ethash/ethash.go b/consensus/ethash/ethash.go index f37ec2605..ec6da9a66 100644 --- a/consensus/ethash/ethash.go +++ b/consensus/ethash/ethash.go @@ -20,9 +20,9 @@ package ethash import ( "time" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rpc" ) // Ethash is a consensus engine based on proof-of-work implementing the ethash diff --git a/consensus/merger.go b/consensus/merger.go index ffbcbf2b8..9fddda978 100644 --- a/consensus/merger.go +++ b/consensus/merger.go @@ -20,10 +20,10 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" ) // transitionStatus describes the status of eth1/2 transition. This switch diff --git a/consensus/misc/dao.go b/consensus/misc/dao.go index e21a44f63..4da5a0fcf 100644 --- a/consensus/misc/dao.go +++ b/consensus/misc/dao.go @@ -21,9 +21,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/consensus/misc/eip1559/eip1559.go b/consensus/misc/eip1559/eip1559.go index 84b82c4c4..f9ea5ab44 100644 --- a/consensus/misc/eip1559/eip1559.go +++ b/consensus/misc/eip1559/eip1559.go @@ -21,11 +21,11 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/misc" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" ) // VerifyEIP1559Header verifies some header attributes which were changed in EIP-1559, diff --git a/consensus/misc/eip1559/eip1559_test.go b/consensus/misc/eip1559/eip1559_test.go index b5afdf0fe..f76b882a3 100644 --- a/consensus/misc/eip1559/eip1559_test.go +++ b/consensus/misc/eip1559/eip1559_test.go @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" ) // copyConfig does a _shallow_ copy of a given config. Safe to set new values, but diff --git a/consensus/misc/eip4844/eip4844.go b/consensus/misc/eip4844/eip4844.go index 2dad9a0cd..4388c74c4 100644 --- a/consensus/misc/eip4844/eip4844.go +++ b/consensus/misc/eip4844/eip4844.go @@ -21,8 +21,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" ) var ( diff --git a/consensus/misc/eip4844/eip4844_test.go b/consensus/misc/eip4844/eip4844_test.go index ec417380f..a26ccf1fc 100644 --- a/consensus/misc/eip4844/eip4844_test.go +++ b/consensus/misc/eip4844/eip4844_test.go @@ -21,7 +21,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) func TestCalcExcessBlobGas(t *testing.T) { diff --git a/consensus/misc/gaslimit.go b/consensus/misc/gaslimit.go index dfcabd9a8..d5e298426 100644 --- a/consensus/misc/gaslimit.go +++ b/consensus/misc/gaslimit.go @@ -19,7 +19,7 @@ package misc import ( "fmt" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) // VerifyGaslimit verifies the header gas limit according increase/decrease diff --git a/console/bridge.go b/console/bridge.go index 37578041c..bda90de32 100644 --- a/console/bridge.go +++ b/console/bridge.go @@ -26,12 +26,12 @@ import ( "time" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/accounts/scwallet" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/internal/jsre" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/accounts/scwallet" + "github.com/KP-Universe/go-kpu/accounts/usbwallet" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/console/prompt" + "github.com/KP-Universe/go-kpu/internal/jsre" + "github.com/KP-Universe/go-kpu/rpc" ) // bridge is a collection of JavaScript utility methods to bride the .js runtime diff --git a/console/bridge_test.go b/console/bridge_test.go index e57e294fc..a3eeb57d1 100644 --- a/console/bridge_test.go +++ b/console/bridge_test.go @@ -20,7 +20,7 @@ import ( "testing" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/internal/jsre" + "github.com/KP-Universe/go-kpu/internal/jsre" ) // TestUndefinedAsParam ensures that personal functions can receive diff --git a/console/console.go b/console/console.go index cdee53684..ea3f3c4e6 100644 --- a/console/console.go +++ b/console/console.go @@ -30,12 +30,12 @@ import ( "syscall" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/internal/jsre" - "github.com/ethereum/go-ethereum/internal/jsre/deps" - "github.com/ethereum/go-ethereum/internal/web3ext" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/console/prompt" + "github.com/KP-Universe/go-kpu/internal/jsre" + "github.com/KP-Universe/go-kpu/internal/jsre/deps" + "github.com/KP-Universe/go-kpu/internal/web3ext" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" "github.com/mattn/go-colorable" "github.com/peterh/liner" ) diff --git a/console/console_test.go b/console/console_test.go index a13be6a99..d96bd5135 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -25,14 +25,14 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/internal/jsre" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/console/prompt" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/internal/jsre" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/node" ) const ( diff --git a/core/asm/asm.go b/core/asm/asm.go index 294eb6ffa..0f902eaf9 100644 --- a/core/asm/asm.go +++ b/core/asm/asm.go @@ -21,7 +21,7 @@ import ( "encoding/hex" "fmt" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/core/vm" ) // Iterator for disassembled EVM instructions diff --git a/core/asm/compiler.go b/core/asm/compiler.go index 02c589b2c..95508a07f 100644 --- a/core/asm/compiler.go +++ b/core/asm/compiler.go @@ -24,8 +24,8 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/vm" ) // Compiler contains information about the parsed source diff --git a/core/bench_test.go b/core/bench_test.go index 951ce2a08..c0288bb99 100644 --- a/core/bench_test.go +++ b/core/bench_test.go @@ -21,15 +21,15 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/params" ) func BenchmarkInsertChain_empty_memdb(b *testing.B) { diff --git a/core/block_validator.go b/core/block_validator.go index f3d65cea2..b7ccf7fab 100644 --- a/core/block_validator.go +++ b/core/block_validator.go @@ -20,11 +20,11 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" ) // BlockValidator is responsible for validating block headers, uncles and diff --git a/core/block_validator_test.go b/core/block_validator_test.go index 48bdceff6..42a602f24 100644 --- a/core/block_validator_test.go +++ b/core/block_validator_test.go @@ -21,16 +21,16 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/clique" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" ) // Tests that simple header verification works, for both good and bad blocks. diff --git a/core/blockchain.go b/core/blockchain.go index b45ac8e64..57eabc833 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -28,28 +28,28 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/common/prque" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/internal/syncx" - "github.com/ethereum/go-ethereum/internal/version" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/common/prque" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/internal/syncx" + "github.com/KP-Universe/go-kpu/internal/version" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" "golang.org/x/exp/slices" ) diff --git a/core/blockchain_insert.go b/core/blockchain_insert.go index 9bf662b6b..526b6df94 100644 --- a/core/blockchain_insert.go +++ b/core/blockchain_insert.go @@ -19,10 +19,10 @@ package core import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" ) // insertStats tracks and reports on block insertion. diff --git a/core/blockchain_reader.go b/core/blockchain_reader.go index 6fb09abac..967f801df 100644 --- a/core/blockchain_reader.go +++ b/core/blockchain_reader.go @@ -20,17 +20,17 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) // CurrentHeader retrieves the current head header of the canonical chain. The diff --git a/core/blockchain_repair_test.go b/core/blockchain_repair_test.go index b2df39d17..4f5bc40bf 100644 --- a/core/blockchain_repair_test.go +++ b/core/blockchain_repair_test.go @@ -26,12 +26,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/params" ) // Tests a recovery for a short canonical chain where a recent block was already diff --git a/core/blockchain_sethead_test.go b/core/blockchain_sethead_test.go index fa739f924..7d9759b1a 100644 --- a/core/blockchain_sethead_test.go +++ b/core/blockchain_sethead_test.go @@ -27,16 +27,16 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" ) // rewindTest is a test case for chain rollback upon user request. diff --git a/core/blockchain_snapshot_test.go b/core/blockchain_snapshot_test.go index dd012c430..211c552ec 100644 --- a/core/blockchain_snapshot_test.go +++ b/core/blockchain_snapshot_test.go @@ -29,13 +29,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/params" ) // snapshotTestBasic wraps the common testing fields in the snapshot tests. diff --git a/core/blockchain_test.go b/core/blockchain_test.go index 46882f409..f894705f0 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -26,20 +26,20 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" ) diff --git a/core/blocks.go b/core/blocks.go index f20ba4aaf..bed4a956d 100644 --- a/core/blocks.go +++ b/core/blocks.go @@ -16,7 +16,7 @@ package core -import "github.com/ethereum/go-ethereum/common" +import "github.com/KP-Universe/go-kpu/common" // BadHashes represent a set of manually tracked bad hashes (usually hard forks) var BadHashes = map[common.Hash]bool{ diff --git a/core/bloom_indexer.go b/core/bloom_indexer.go index 68a35d811..a8b17e81a 100644 --- a/core/bloom_indexer.go +++ b/core/bloom_indexer.go @@ -20,12 +20,12 @@ import ( "context" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/bitutil" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" ) const ( diff --git a/core/bloombits/generator.go b/core/bloombits/generator.go index 646151db0..95ea39874 100644 --- a/core/bloombits/generator.go +++ b/core/bloombits/generator.go @@ -19,7 +19,7 @@ package bloombits import ( "errors" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/core/types" ) var ( diff --git a/core/bloombits/generator_test.go b/core/bloombits/generator_test.go index ac1aee0b2..8a05e2aa4 100644 --- a/core/bloombits/generator_test.go +++ b/core/bloombits/generator_test.go @@ -22,7 +22,7 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/core/types" ) // Tests that batched bloom bits are correctly rotated from the input bloom diff --git a/core/bloombits/matcher.go b/core/bloombits/matcher.go index 6a4cfb23d..7af472300 100644 --- a/core/bloombits/matcher.go +++ b/core/bloombits/matcher.go @@ -26,8 +26,8 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common/bitutil" + "github.com/KP-Universe/go-kpu/crypto" ) // bloomIndexes represents the bit indexes inside the bloom filter that belong diff --git a/core/bloombits/matcher_test.go b/core/bloombits/matcher_test.go index 7f3d5f279..43292db2b 100644 --- a/core/bloombits/matcher_test.go +++ b/core/bloombits/matcher_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) const testSectionSize = 4096 diff --git a/core/chain_indexer.go b/core/chain_indexer.go index f5fce7258..49ee23ca3 100644 --- a/core/chain_indexer.go +++ b/core/chain_indexer.go @@ -25,12 +25,12 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" ) // ChainIndexerBackend defines the methods needed to process chain segments in diff --git a/core/chain_indexer_test.go b/core/chain_indexer_test.go index f09960901..6e232b9bf 100644 --- a/core/chain_indexer_test.go +++ b/core/chain_indexer_test.go @@ -25,9 +25,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" ) // Runs multiple tests with randomized parameters. diff --git a/core/chain_makers.go b/core/chain_makers.go index 05c97a43e..852570401 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -20,18 +20,18 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" ) diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index 84148841f..93d376b7c 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -23,15 +23,15 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" ) func TestGeneratePOSChain(t *testing.T) { diff --git a/core/dao_test.go b/core/dao_test.go index b9a899ef2..e1d75621a 100644 --- a/core/dao_test.go +++ b/core/dao_test.go @@ -20,10 +20,10 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/params" ) // Tests that DAO-fork enabled clients can properly filter out fork-commencing diff --git a/core/error.go b/core/error.go index 72cacf8c7..507834638 100644 --- a/core/error.go +++ b/core/error.go @@ -19,7 +19,7 @@ package core import ( "errors" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/core/types" ) var ( diff --git a/core/events.go b/core/events.go index ac935a137..dfd291f81 100644 --- a/core/events.go +++ b/core/events.go @@ -17,8 +17,8 @@ package core import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) // NewTxsEvent is posted when a batch of transactions enter the transaction pool. diff --git a/core/evm.go b/core/evm.go index 73f6d7bc2..e277ac6e2 100644 --- a/core/evm.go +++ b/core/evm.go @@ -19,11 +19,11 @@ package core import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" "github.com/holiman/uint256" ) diff --git a/core/forkchoice.go b/core/forkchoice.go index b293c851b..80261817f 100644 --- a/core/forkchoice.go +++ b/core/forkchoice.go @@ -22,11 +22,11 @@ import ( "math/big" mrand "math/rand" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" ) // ChainReader defines a small collection of methods needed to access the local diff --git a/core/forkid/forkid.go b/core/forkid/forkid.go index 76825d3be..71fc2c038 100644 --- a/core/forkid/forkid.go +++ b/core/forkid/forkid.go @@ -26,9 +26,9 @@ import ( "reflect" "strings" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" "golang.org/x/exp/slices" ) diff --git a/core/forkid/forkid_test.go b/core/forkid/forkid_test.go index 776c428f7..0fc30d101 100644 --- a/core/forkid/forkid_test.go +++ b/core/forkid/forkid_test.go @@ -23,11 +23,11 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) // TestCreation tests that different genesis and fork rule combinations result in diff --git a/core/gen_genesis.go b/core/gen_genesis.go index 38614252a..760758559 100644 --- a/core/gen_genesis.go +++ b/core/gen_genesis.go @@ -7,10 +7,10 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/params" ) var _ = (*genesisSpecMarshaling)(nil) diff --git a/core/gen_genesis_account.go b/core/gen_genesis_account.go index a9d47e6ba..d7813abed 100644 --- a/core/gen_genesis_account.go +++ b/core/gen_genesis_account.go @@ -7,9 +7,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" ) var _ = (*genesisAccountMarshaling)(nil) diff --git a/core/genesis.go b/core/genesis.go index 30dd9e49a..985bc4a9f 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -25,19 +25,19 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" "github.com/holiman/uint256" ) diff --git a/core/genesis_test.go b/core/genesis_test.go index 1d85b510c..ad3e5e01b 100644 --- a/core/genesis_test.go +++ b/core/genesis_test.go @@ -24,14 +24,14 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" ) func TestInvalidCliqueConfig(t *testing.T) { diff --git a/core/headerchain.go b/core/headerchain.go index 519a32ab8..4a1801fe2 100644 --- a/core/headerchain.go +++ b/core/headerchain.go @@ -26,15 +26,15 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) const ( diff --git a/core/headerchain_test.go b/core/headerchain_test.go index 2c0323e6f..b4dc671ea 100644 --- a/core/headerchain_test.go +++ b/core/headerchain_test.go @@ -23,12 +23,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" ) func verifyUnbrokenCanonchain(hc *HeaderChain) error { diff --git a/core/mkalloc.go b/core/mkalloc.go index 12c40c14f..9ac568e68 100644 --- a/core/mkalloc.go +++ b/core/mkalloc.go @@ -32,9 +32,9 @@ import ( "os" "strconv" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/exp/slices" ) diff --git a/core/rawdb/accessors_chain.go b/core/rawdb/accessors_chain.go index 964b3a311..c670c7ae2 100644 --- a/core/rawdb/accessors_chain.go +++ b/core/rawdb/accessors_chain.go @@ -23,14 +23,14 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/exp/slices" ) diff --git a/core/rawdb/accessors_chain_test.go b/core/rawdb/accessors_chain_test.go index a7ceb7299..a4bd4eb9b 100644 --- a/core/rawdb/accessors_chain_test.go +++ b/core/rawdb/accessors_chain_test.go @@ -26,11 +26,11 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/crypto/sha3" ) diff --git a/core/rawdb/accessors_indexes.go b/core/rawdb/accessors_indexes.go index 4f2ef0a88..1c982ba87 100644 --- a/core/rawdb/accessors_indexes.go +++ b/core/rawdb/accessors_indexes.go @@ -20,12 +20,12 @@ import ( "bytes" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) // ReadTxLookupEntry retrieves the positional metadata associated with a transaction diff --git a/core/rawdb/accessors_indexes_test.go b/core/rawdb/accessors_indexes_test.go index 124389ba7..8e8b56247 100644 --- a/core/rawdb/accessors_indexes_test.go +++ b/core/rawdb/accessors_indexes_test.go @@ -21,12 +21,12 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/blocktest" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/internal/blocktest" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) var newTestHasher = blocktest.NewHasher diff --git a/core/rawdb/accessors_metadata.go b/core/rawdb/accessors_metadata.go index 859566f72..5235e347b 100644 --- a/core/rawdb/accessors_metadata.go +++ b/core/rawdb/accessors_metadata.go @@ -20,11 +20,11 @@ import ( "encoding/json" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) // ReadDatabaseVersion retrieves the version number of the database. diff --git a/core/rawdb/accessors_snapshot.go b/core/rawdb/accessors_snapshot.go index 3c82b3f73..f86c4d4bc 100644 --- a/core/rawdb/accessors_snapshot.go +++ b/core/rawdb/accessors_snapshot.go @@ -19,9 +19,9 @@ package rawdb import ( "encoding/binary" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) // ReadSnapshotDisabled retrieves if the snapshot maintenance is disabled. diff --git a/core/rawdb/accessors_state.go b/core/rawdb/accessors_state.go index 9ce58e7d2..e3ab34aa1 100644 --- a/core/rawdb/accessors_state.go +++ b/core/rawdb/accessors_state.go @@ -19,9 +19,9 @@ package rawdb import ( "encoding/binary" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) // ReadPreimage retrieves a single preimage of the provided hash. diff --git a/core/rawdb/accessors_sync.go b/core/rawdb/accessors_sync.go index 2dc08b3b7..345f6c5e8 100644 --- a/core/rawdb/accessors_sync.go +++ b/core/rawdb/accessors_sync.go @@ -17,10 +17,10 @@ package rawdb import ( - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" ) // ReadSkeletonSyncStatus retrieves the serialized sync status saved at shutdown. diff --git a/core/rawdb/accessors_trie.go b/core/rawdb/accessors_trie.go index ea3367db3..21e8731df 100644 --- a/core/rawdb/accessors_trie.go +++ b/core/rawdb/accessors_trie.go @@ -20,10 +20,10 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" "golang.org/x/crypto/sha3" ) diff --git a/core/rawdb/ancient_utils.go b/core/rawdb/ancient_utils.go index 428cda544..ecb7446d3 100644 --- a/core/rawdb/ancient_utils.go +++ b/core/rawdb/ancient_utils.go @@ -20,8 +20,8 @@ import ( "fmt" "path/filepath" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" ) type tableSize struct { diff --git a/core/rawdb/chain_freezer.go b/core/rawdb/chain_freezer.go index bb2c409db..b7c1941cf 100644 --- a/core/rawdb/chain_freezer.go +++ b/core/rawdb/chain_freezer.go @@ -22,10 +22,10 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" ) const ( diff --git a/core/rawdb/chain_iterator.go b/core/rawdb/chain_iterator.go index 759e5913d..175a67433 100644 --- a/core/rawdb/chain_iterator.go +++ b/core/rawdb/chain_iterator.go @@ -21,12 +21,12 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/prque" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/prque" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" ) // InitDatabaseFromFreezer reinitializes an empty database from a previous batch diff --git a/core/rawdb/chain_iterator_test.go b/core/rawdb/chain_iterator_test.go index 78b0a82e1..b75b1ff1e 100644 --- a/core/rawdb/chain_iterator_test.go +++ b/core/rawdb/chain_iterator_test.go @@ -23,8 +23,8 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) func TestChainIterator(t *testing.T) { diff --git a/core/rawdb/database.go b/core/rawdb/database.go index 27a9ec741..d7b0877e7 100644 --- a/core/rawdb/database.go +++ b/core/rawdb/database.go @@ -26,12 +26,12 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/leveldb" - "github.com/ethereum/go-ethereum/ethdb/memorydb" - "github.com/ethereum/go-ethereum/ethdb/pebble" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/ethdb/leveldb" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/ethdb/pebble" + "github.com/KP-Universe/go-kpu/log" "github.com/olekukonko/tablewriter" ) diff --git a/core/rawdb/freezer.go b/core/rawdb/freezer.go index b7824ddc0..138ae3358 100644 --- a/core/rawdb/freezer.go +++ b/core/rawdb/freezer.go @@ -26,10 +26,10 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" "github.com/gofrs/flock" ) diff --git a/core/rawdb/freezer_batch.go b/core/rawdb/freezer_batch.go index 84a63a451..07a57a382 100644 --- a/core/rawdb/freezer_batch.go +++ b/core/rawdb/freezer_batch.go @@ -19,8 +19,8 @@ package rawdb import ( "fmt" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/rlp" "github.com/golang/snappy" ) diff --git a/core/rawdb/freezer_meta.go b/core/rawdb/freezer_meta.go index 9eef9df35..d4e58fc94 100644 --- a/core/rawdb/freezer_meta.go +++ b/core/rawdb/freezer_meta.go @@ -20,8 +20,8 @@ import ( "io" "os" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" ) const freezerVersion = 1 // The initial version tag of freezer table metadata diff --git a/core/rawdb/freezer_resettable.go b/core/rawdb/freezer_resettable.go index 7a8548973..9997bbeaf 100644 --- a/core/rawdb/freezer_resettable.go +++ b/core/rawdb/freezer_resettable.go @@ -21,8 +21,8 @@ import ( "path/filepath" "sync" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) const tmpSuffix = ".tmp" diff --git a/core/rawdb/freezer_resettable_test.go b/core/rawdb/freezer_resettable_test.go index d741bc14e..339dddbb6 100644 --- a/core/rawdb/freezer_resettable_test.go +++ b/core/rawdb/freezer_resettable_test.go @@ -21,7 +21,7 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/ethdb" ) func TestResetFreezer(t *testing.T) { diff --git a/core/rawdb/freezer_table.go b/core/rawdb/freezer_table.go index 4b9d510e8..4425042a9 100644 --- a/core/rawdb/freezer_table.go +++ b/core/rawdb/freezer_table.go @@ -27,9 +27,9 @@ import ( "sync" "sync/atomic" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" "github.com/golang/snappy" ) diff --git a/core/rawdb/freezer_table_test.go b/core/rawdb/freezer_table_test.go index 447146393..3ddfeab32 100644 --- a/core/rawdb/freezer_table_test.go +++ b/core/rawdb/freezer_table_test.go @@ -28,7 +28,7 @@ import ( "testing/quick" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" "github.com/stretchr/testify/require" ) diff --git a/core/rawdb/freezer_test.go b/core/rawdb/freezer_test.go index b4bd6a382..e40f79e93 100644 --- a/core/rawdb/freezer_test.go +++ b/core/rawdb/freezer_test.go @@ -27,8 +27,8 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/rlp" "github.com/stretchr/testify/require" ) diff --git a/core/rawdb/key_length_iterator.go b/core/rawdb/key_length_iterator.go index d1c5af269..01213d83a 100644 --- a/core/rawdb/key_length_iterator.go +++ b/core/rawdb/key_length_iterator.go @@ -16,7 +16,7 @@ package rawdb -import "github.com/ethereum/go-ethereum/ethdb" +import "github.com/KP-Universe/go-kpu/ethdb" // KeyLengthIterator is a wrapper for a database iterator that ensures only key-value pairs // with a specific key length will be returned. diff --git a/core/rawdb/schema.go b/core/rawdb/schema.go index 11cf5b40f..5a3ff6dcf 100644 --- a/core/rawdb/schema.go +++ b/core/rawdb/schema.go @@ -21,9 +21,9 @@ import ( "bytes" "encoding/binary" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/metrics" ) // The fields below define the low level database schema prefixing. diff --git a/core/rawdb/table.go b/core/rawdb/table.go index 19e4ed5b5..3a90b7637 100644 --- a/core/rawdb/table.go +++ b/core/rawdb/table.go @@ -17,7 +17,7 @@ package rawdb import ( - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/ethdb" ) // table is a wrapper around a database that prefixes each key access with a pre- diff --git a/core/rawdb/table_test.go b/core/rawdb/table_test.go index aa6adf3e7..a0d940740 100644 --- a/core/rawdb/table_test.go +++ b/core/rawdb/table_test.go @@ -20,7 +20,7 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/ethdb" ) func TestTableDatabase(t *testing.T) { testTableDatabase(t, "prefix") } diff --git a/core/rlp_test.go b/core/rlp_test.go index a2fb4937f..55de280a3 100644 --- a/core/rlp_test.go +++ b/core/rlp_test.go @@ -21,12 +21,12 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/crypto/sha3" ) diff --git a/core/sender_cacher.go b/core/sender_cacher.go index 4be53619e..a08d74f4b 100644 --- a/core/sender_cacher.go +++ b/core/sender_cacher.go @@ -19,7 +19,7 @@ package core import ( "runtime" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/core/types" ) // SenderCacher is a concurrent transaction sender recoverer and cacher. diff --git a/core/state/access_list.go b/core/state/access_list.go index 419469134..ce2e16931 100644 --- a/core/state/access_list.go +++ b/core/state/access_list.go @@ -17,7 +17,7 @@ package state import ( - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) type accessList struct { diff --git a/core/state/database.go b/core/state/database.go index b55f870d9..ec7cb83df 100644 --- a/core/state/database.go +++ b/core/state/database.go @@ -21,15 +21,15 @@ import ( "fmt" "github.com/crate-crypto/go-ipa/banderwagon" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/utils" ) const ( diff --git a/core/state/dump.go b/core/state/dump.go index 55abb50f1..e822194ef 100644 --- a/core/state/dump.go +++ b/core/state/dump.go @@ -21,12 +21,12 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) // DumpConfig is a set of options to control what portions of the state will be diff --git a/core/state/iterator.go b/core/state/iterator.go index dc84ce689..8d0ffbd03 100644 --- a/core/state/iterator.go +++ b/core/state/iterator.go @@ -21,10 +21,10 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) // nodeIterator is an iterator to traverse the entire state trie post-order, diff --git a/core/state/iterator_test.go b/core/state/iterator_test.go index 73cc22490..4cee43503 100644 --- a/core/state/iterator_test.go +++ b/core/state/iterator_test.go @@ -19,9 +19,9 @@ package state import ( "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/crypto" ) // Tests that the node iterator indeed walks over the entire database contents. diff --git a/core/state/journal.go b/core/state/journal.go index 6cdc1fc86..152fbeca7 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -17,7 +17,7 @@ package state import ( - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" "github.com/holiman/uint256" ) diff --git a/core/state/metrics.go b/core/state/metrics.go index 64c651461..36217b060 100644 --- a/core/state/metrics.go +++ b/core/state/metrics.go @@ -16,7 +16,7 @@ package state -import "github.com/ethereum/go-ethereum/metrics" +import "github.com/KP-Universe/go-kpu/metrics" var ( accountUpdatedMeter = metrics.NewRegisteredMeter("state/update/account", nil) diff --git a/core/state/pruner/bloom.go b/core/state/pruner/bloom.go index dad2b5b2a..e33ac8d78 100644 --- a/core/state/pruner/bloom.go +++ b/core/state/pruner/bloom.go @@ -21,9 +21,9 @@ import ( "errors" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/log" bloomfilter "github.com/holiman/bloomfilter/v2" ) diff --git a/core/state/pruner/pruner.go b/core/state/pruner/pruner.go index a0f95078d..ff24b5218 100644 --- a/core/state/pruner/pruner.go +++ b/core/state/pruner/pruner.go @@ -27,14 +27,14 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) const ( diff --git a/core/state/snapshot/context.go b/core/state/snapshot/context.go index 67d7e41a0..84e36757a 100644 --- a/core/state/snapshot/context.go +++ b/core/state/snapshot/context.go @@ -22,12 +22,12 @@ import ( "errors" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/memorydb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/log" ) const ( diff --git a/core/state/snapshot/conversion.go b/core/state/snapshot/conversion.go index 681be7ebc..72127b749 100644 --- a/core/state/snapshot/conversion.go +++ b/core/state/snapshot/conversion.go @@ -25,13 +25,13 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) // trieKV represents a trie key-value pair diff --git a/core/state/snapshot/difflayer.go b/core/state/snapshot/difflayer.go index 1377d0fa3..692579921 100644 --- a/core/state/snapshot/difflayer.go +++ b/core/state/snapshot/difflayer.go @@ -25,9 +25,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" bloomfilter "github.com/holiman/bloomfilter/v2" "golang.org/x/exp/slices" ) diff --git a/core/state/snapshot/difflayer_test.go b/core/state/snapshot/difflayer_test.go index 674a031b1..1125365b7 100644 --- a/core/state/snapshot/difflayer_test.go +++ b/core/state/snapshot/difflayer_test.go @@ -23,9 +23,9 @@ import ( "testing" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" ) func copyDestructs(destructs map[common.Hash]struct{}) map[common.Hash]struct{} { diff --git a/core/state/snapshot/disklayer.go b/core/state/snapshot/disklayer.go index d563b67ca..f8f2f8478 100644 --- a/core/state/snapshot/disklayer.go +++ b/core/state/snapshot/disklayer.go @@ -21,12 +21,12 @@ import ( "sync" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) // diskLayer is a low level persistent snapshot built on top of a key-value store. diff --git a/core/state/snapshot/disklayer_test.go b/core/state/snapshot/disklayer_test.go index f95b79851..7ff2015a3 100644 --- a/core/state/snapshot/disklayer_test.go +++ b/core/state/snapshot/disklayer_test.go @@ -21,10 +21,10 @@ import ( "testing" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb/memorydb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/rlp" ) // reverse reverses the contents of a byte slice. It's used to update random accs diff --git a/core/state/snapshot/generate.go b/core/state/snapshot/generate.go index f455a6db3..6103bab3a 100644 --- a/core/state/snapshot/generate.go +++ b/core/state/snapshot/generate.go @@ -23,15 +23,15 @@ import ( "time" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/trienode" ) var ( diff --git a/core/state/snapshot/generate_test.go b/core/state/snapshot/generate_test.go index 7d941f628..6f5f7a702 100644 --- a/core/state/snapshot/generate_test.go +++ b/core/state/snapshot/generate_test.go @@ -22,16 +22,16 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/trie/trienode" "github.com/holiman/uint256" "golang.org/x/crypto/sha3" ) diff --git a/core/state/snapshot/holdable_iterator.go b/core/state/snapshot/holdable_iterator.go index 1e86ff9d8..b85030b71 100644 --- a/core/state/snapshot/holdable_iterator.go +++ b/core/state/snapshot/holdable_iterator.go @@ -17,8 +17,8 @@ package snapshot import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" ) // holdableIterator is a wrapper of underlying database iterator. It extends diff --git a/core/state/snapshot/holdable_iterator_test.go b/core/state/snapshot/holdable_iterator_test.go index ce4cf6bb8..f5900c8ba 100644 --- a/core/state/snapshot/holdable_iterator_test.go +++ b/core/state/snapshot/holdable_iterator_test.go @@ -20,8 +20,8 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" ) func TestIteratorHold(t *testing.T) { diff --git a/core/state/snapshot/iterator.go b/core/state/snapshot/iterator.go index c1a196c7f..dbde19a64 100644 --- a/core/state/snapshot/iterator.go +++ b/core/state/snapshot/iterator.go @@ -21,9 +21,9 @@ import ( "fmt" "sort" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" ) // Iterator is an iterator to step over all the accounts or the specific diff --git a/core/state/snapshot/iterator_binary.go b/core/state/snapshot/iterator_binary.go index 22184b254..508bd9e80 100644 --- a/core/state/snapshot/iterator_binary.go +++ b/core/state/snapshot/iterator_binary.go @@ -19,7 +19,7 @@ package snapshot import ( "bytes" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // binaryIterator is a simplistic iterator to step over the accounts or storage diff --git a/core/state/snapshot/iterator_fast.go b/core/state/snapshot/iterator_fast.go index 0502d9cf8..9cda87366 100644 --- a/core/state/snapshot/iterator_fast.go +++ b/core/state/snapshot/iterator_fast.go @@ -21,7 +21,7 @@ import ( "fmt" "sort" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" "golang.org/x/exp/slices" ) diff --git a/core/state/snapshot/iterator_test.go b/core/state/snapshot/iterator_test.go index 54614427a..2a5db2e1f 100644 --- a/core/state/snapshot/iterator_test.go +++ b/core/state/snapshot/iterator_test.go @@ -25,8 +25,8 @@ import ( "testing" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" ) // TestAccountIteratorBasics tests some simple single-layer(diff and disk) iteration diff --git a/core/state/snapshot/journal.go b/core/state/snapshot/journal.go index 4d070208f..fc8d04cb4 100644 --- a/core/state/snapshot/journal.go +++ b/core/state/snapshot/journal.go @@ -25,12 +25,12 @@ import ( "time" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) const journalVersion uint64 = 0 diff --git a/core/state/snapshot/metrics.go b/core/state/snapshot/metrics.go index b2e884588..d75f4aa3d 100644 --- a/core/state/snapshot/metrics.go +++ b/core/state/snapshot/metrics.go @@ -16,7 +16,7 @@ package snapshot -import "github.com/ethereum/go-ethereum/metrics" +import "github.com/KP-Universe/go-kpu/metrics" // Metrics in generation var ( diff --git a/core/state/snapshot/snapshot.go b/core/state/snapshot/snapshot.go index 638984238..849fc4478 100644 --- a/core/state/snapshot/snapshot.go +++ b/core/state/snapshot/snapshot.go @@ -23,14 +23,14 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) var ( diff --git a/core/state/snapshot/snapshot_test.go b/core/state/snapshot/snapshot_test.go index a9ab3eaea..9f179d68a 100644 --- a/core/state/snapshot/snapshot_test.go +++ b/core/state/snapshot/snapshot_test.go @@ -25,10 +25,10 @@ import ( "time" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" "github.com/holiman/uint256" ) diff --git a/core/state/snapshot/utils.go b/core/state/snapshot/utils.go index 62f073d2e..e86809710 100644 --- a/core/state/snapshot/utils.go +++ b/core/state/snapshot/utils.go @@ -21,11 +21,11 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) // CheckDanglingStorage iterates the snap storage data, and verifies that all diff --git a/core/state/state_object.go b/core/state/state_object.go index 1fdaec614..780315dff 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -22,12 +22,12 @@ import ( "io" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie/trienode" "github.com/holiman/uint256" ) diff --git a/core/state/state_object_test.go b/core/state/state_object_test.go index 42fd77802..f86f19312 100644 --- a/core/state/state_object_test.go +++ b/core/state/state_object_test.go @@ -20,7 +20,7 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func BenchmarkCutOriginal(b *testing.B) { diff --git a/core/state/state_test.go b/core/state/state_test.go index df7ebd245..83cd33119 100644 --- a/core/state/state_test.go +++ b/core/state/state_test.go @@ -21,12 +21,12 @@ import ( "encoding/json" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" ) diff --git a/core/state/statedb.go b/core/state/statedb.go index a4b8cf93e..a54b4e404 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -22,17 +22,17 @@ import ( "sort" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" "github.com/holiman/uint256" ) diff --git a/core/state/statedb_fuzz_test.go b/core/state/statedb_fuzz_test.go index 620dee16d..8131f398d 100644 --- a/core/state/statedb_fuzz_test.go +++ b/core/state/statedb_fuzz_test.go @@ -28,15 +28,15 @@ import ( "testing" "testing/quick" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/trie/triestate" "github.com/holiman/uint256" ) diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index 889fbf997..a65b7dca9 100644 --- a/core/state/statedb_test.go +++ b/core/state/statedb_test.go @@ -29,16 +29,16 @@ import ( "testing" "testing/quick" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/trie/trienode" "github.com/holiman/uint256" ) diff --git a/core/state/sync.go b/core/state/sync.go index d6775e889..c17bf1a4d 100644 --- a/core/state/sync.go +++ b/core/state/sync.go @@ -17,11 +17,11 @@ package state import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) // NewStateSync create a new state trie download scheduler. diff --git a/core/state/sync_test.go b/core/state/sync_test.go index 140aad190..2e5072aac 100644 --- a/core/state/sync_test.go +++ b/core/state/sync_test.go @@ -20,15 +20,15 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" "github.com/holiman/uint256" ) diff --git a/core/state/transient_storage.go b/core/state/transient_storage.go index 66e563efa..5b0715382 100644 --- a/core/state/transient_storage.go +++ b/core/state/transient_storage.go @@ -17,7 +17,7 @@ package state import ( - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // transientStorage is a representation of EIP-1153 "Transient Storage". diff --git a/core/state/trie_prefetcher.go b/core/state/trie_prefetcher.go index c2a49417d..11a7a48e0 100644 --- a/core/state/trie_prefetcher.go +++ b/core/state/trie_prefetcher.go @@ -19,9 +19,9 @@ package state import ( "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" ) var ( diff --git a/core/state/trie_prefetcher_test.go b/core/state/trie_prefetcher_test.go index 711ec8325..5200c2af8 100644 --- a/core/state/trie_prefetcher_test.go +++ b/core/state/trie_prefetcher_test.go @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" "github.com/holiman/uint256" ) diff --git a/core/state_prefetcher.go b/core/state_prefetcher.go index ff867309d..b72698f70 100644 --- a/core/state_prefetcher.go +++ b/core/state_prefetcher.go @@ -19,11 +19,11 @@ package core import ( "sync/atomic" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/params" ) // statePrefetcher is a basic Prefetcher, which blindly executes a block on top diff --git a/core/state_processor.go b/core/state_processor.go index 9e32ab4e5..ede374f74 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -21,14 +21,14 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" ) // StateProcessor is a basic Processor, which takes care of transitioning diff --git a/core/state_processor_test.go b/core/state_processor_test.go index 2f5f0dc02..e29311f07 100644 --- a/core/state_processor_test.go +++ b/core/state_processor_test.go @@ -21,19 +21,19 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" "golang.org/x/crypto/sha3" ) diff --git a/core/state_transition.go b/core/state_transition.go index 2be54480f..12648cc24 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -21,12 +21,12 @@ import ( "math" "math/big" - "github.com/ethereum/go-ethereum/common" - cmath "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + cmath "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/txindexer.go b/core/txindexer.go index 61de41947..1442ba450 100644 --- a/core/txindexer.go +++ b/core/txindexer.go @@ -20,9 +20,9 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) // TxIndexProgress is the struct describing the progress for transaction indexing. diff --git a/core/txindexer_test.go b/core/txindexer_test.go index 66f26edae..0e88b8fa7 100644 --- a/core/txindexer_test.go +++ b/core/txindexer_test.go @@ -21,13 +21,13 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/params" ) // TestTxIndexer tests the functionalities for managing transaction indexes. diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index f4162acac..b7a78560c 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -29,18 +29,18 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "github.com/holiman/billy" "github.com/holiman/uint256" ) diff --git a/core/txpool/blobpool/blobpool_test.go b/core/txpool/blobpool/blobpool_test.go index 7dd5ad4b2..520262e45 100644 --- a/core/txpool/blobpool/blobpool_test.go +++ b/core/txpool/blobpool/blobpool_test.go @@ -29,20 +29,20 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/ethdb/memorydb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "github.com/holiman/billy" "github.com/holiman/uint256" ) diff --git a/core/txpool/blobpool/config.go b/core/txpool/blobpool/config.go index 99a2002a3..63fa68730 100644 --- a/core/txpool/blobpool/config.go +++ b/core/txpool/blobpool/config.go @@ -17,7 +17,7 @@ package blobpool import ( - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) // Config are the configuration parameters of the blob transaction pool. diff --git a/core/txpool/blobpool/evictheap.go b/core/txpool/blobpool/evictheap.go index df594099f..915fc68df 100644 --- a/core/txpool/blobpool/evictheap.go +++ b/core/txpool/blobpool/evictheap.go @@ -22,7 +22,7 @@ import ( "math" "sort" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" "github.com/holiman/uint256" ) diff --git a/core/txpool/blobpool/evictheap_test.go b/core/txpool/blobpool/evictheap_test.go index 01b136551..484e8b744 100644 --- a/core/txpool/blobpool/evictheap_test.go +++ b/core/txpool/blobpool/evictheap_test.go @@ -21,8 +21,8 @@ import ( mrand "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/txpool/blobpool/interface.go b/core/txpool/blobpool/interface.go index 6f296a54b..b6aa70707 100644 --- a/core/txpool/blobpool/interface.go +++ b/core/txpool/blobpool/interface.go @@ -17,10 +17,10 @@ package blobpool import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" ) // BlockChain defines the minimal set of methods needed to back a blob pool with diff --git a/core/txpool/blobpool/limbo.go b/core/txpool/blobpool/limbo.go index d1fe9c739..6df113972 100644 --- a/core/txpool/blobpool/limbo.go +++ b/core/txpool/blobpool/limbo.go @@ -19,10 +19,10 @@ package blobpool import ( "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" "github.com/holiman/billy" ) diff --git a/core/txpool/blobpool/metrics.go b/core/txpool/blobpool/metrics.go index 587804cc6..506ff2ad2 100644 --- a/core/txpool/blobpool/metrics.go +++ b/core/txpool/blobpool/metrics.go @@ -16,7 +16,7 @@ package blobpool -import "github.com/ethereum/go-ethereum/metrics" +import "github.com/KP-Universe/go-kpu/metrics" var ( // datacapGauge tracks the user's configured capacity for the blob pool. It diff --git a/core/txpool/legacypool/journal.go b/core/txpool/legacypool/journal.go index f04ab8fc1..5d516b72b 100644 --- a/core/txpool/legacypool/journal.go +++ b/core/txpool/legacypool/journal.go @@ -22,10 +22,10 @@ import ( "io/fs" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" ) // errNoActiveJournal is returned if a transaction is attempted to be inserted diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go index 624dafc60..ecb72c328 100644 --- a/core/txpool/legacypool/legacypool.go +++ b/core/txpool/legacypool/legacypool.go @@ -26,17 +26,17 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/prque" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/prque" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/params" ) const ( diff --git a/core/txpool/legacypool/legacypool2_test.go b/core/txpool/legacypool/legacypool2_test.go index 0f53000b3..4fa591a6e 100644 --- a/core/txpool/legacypool/legacypool2_test.go +++ b/core/txpool/legacypool/legacypool2_test.go @@ -20,12 +20,12 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/event" "github.com/holiman/uint256" ) diff --git a/core/txpool/legacypool/legacypool_test.go b/core/txpool/legacypool/legacypool_test.go index cd2cfb92e..b45a7230a 100644 --- a/core/txpool/legacypool/legacypool_test.go +++ b/core/txpool/legacypool/legacypool_test.go @@ -29,16 +29,16 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" ) diff --git a/core/txpool/legacypool/list.go b/core/txpool/legacypool/list.go index 05ae0b58c..d764f4223 100644 --- a/core/txpool/legacypool/list.go +++ b/core/txpool/legacypool/list.go @@ -25,8 +25,8 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) // nonceHeap is a heap.Interface implementation over 64bit unsigned integers for diff --git a/core/txpool/legacypool/list_test.go b/core/txpool/legacypool/list_test.go index b5cd34b23..9111e0a0c 100644 --- a/core/txpool/legacypool/list_test.go +++ b/core/txpool/legacypool/list_test.go @@ -21,8 +21,8 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" ) // Tests that transactions can be added to strict lists and list contents and diff --git a/core/txpool/legacypool/noncer.go b/core/txpool/legacypool/noncer.go index 2c65dd2ca..14d6c7cc6 100644 --- a/core/txpool/legacypool/noncer.go +++ b/core/txpool/legacypool/noncer.go @@ -19,8 +19,8 @@ package legacypool import ( "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/state" ) // noncer is a tiny virtual state database to manage the executable nonces of diff --git a/core/txpool/subpool.go b/core/txpool/subpool.go index de05b38d4..ae400f2aa 100644 --- a/core/txpool/subpool.go +++ b/core/txpool/subpool.go @@ -20,10 +20,10 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/event" ) // LazyTransaction contains a small subset of the transaction properties that is diff --git a/core/txpool/txpool.go b/core/txpool/txpool.go index d03e025a9..0929392d6 100644 --- a/core/txpool/txpool.go +++ b/core/txpool/txpool.go @@ -22,12 +22,12 @@ import ( "math/big" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" ) // TxStatus is the current status of a transaction as seen by the pool. diff --git a/core/txpool/validation.go b/core/txpool/validation.go index a9bd14020..7b91d8c5c 100644 --- a/core/txpool/validation.go +++ b/core/txpool/validation.go @@ -21,13 +21,13 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" ) // ValidationOptions define certain differences between transaction validation diff --git a/core/types.go b/core/types.go index 36eb0d1de..90bdecf58 100644 --- a/core/types.go +++ b/core/types.go @@ -19,9 +19,9 @@ package core import ( "sync/atomic" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" ) // Validator is an interface which defines the standard for block validation. It diff --git a/core/types/block.go b/core/types/block.go index 1a357baa3..0600c9c91 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -26,9 +26,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/rlp" ) // A BlockNonce is a 64-bit hash which proves (combined with the diff --git a/core/types/block_test.go b/core/types/block_test.go index cf0b1dd85..1fa60b75b 100644 --- a/core/types/block_test.go +++ b/core/types/block_test.go @@ -22,12 +22,12 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/blocktest" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/blocktest" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) // from bcValidBlockTest.json, "SimpleTx" diff --git a/core/types/bloom9.go b/core/types/bloom9.go index a560a2072..2bdea6761 100644 --- a/core/types/bloom9.go +++ b/core/types/bloom9.go @@ -21,8 +21,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/crypto" ) type bytesBacked interface { diff --git a/core/types/bloom9_test.go b/core/types/bloom9_test.go index d3178d112..ec6e05d25 100644 --- a/core/types/bloom9_test.go +++ b/core/types/bloom9_test.go @@ -21,8 +21,8 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" ) func TestBloom(t *testing.T) { diff --git a/core/types/gen_access_tuple.go b/core/types/gen_access_tuple.go index d740b7098..49901dc0a 100644 --- a/core/types/gen_access_tuple.go +++ b/core/types/gen_access_tuple.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // MarshalJSON marshals as JSON. diff --git a/core/types/gen_account_rlp.go b/core/types/gen_account_rlp.go index 8b424493a..a383a970f 100644 --- a/core/types/gen_account_rlp.go +++ b/core/types/gen_account_rlp.go @@ -2,7 +2,7 @@ package types -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *StateAccount) EncodeRLP(_w io.Writer) error { diff --git a/core/types/gen_header_json.go b/core/types/gen_header_json.go index fb1f915d0..a0fda024e 100644 --- a/core/types/gen_header_json.go +++ b/core/types/gen_header_json.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*headerMarshaling)(nil) diff --git a/core/types/gen_header_rlp.go b/core/types/gen_header_rlp.go index ed6a1a002..849198b3e 100644 --- a/core/types/gen_header_rlp.go +++ b/core/types/gen_header_rlp.go @@ -2,7 +2,7 @@ package types -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *Header) EncodeRLP(_w io.Writer) error { diff --git a/core/types/gen_log_json.go b/core/types/gen_log_json.go index 3ffa9c2fe..ec3215127 100644 --- a/core/types/gen_log_json.go +++ b/core/types/gen_log_json.go @@ -6,8 +6,8 @@ import ( "encoding/json" "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*logMarshaling)(nil) diff --git a/core/types/gen_log_rlp.go b/core/types/gen_log_rlp.go index 7e8962966..cc48d3047 100644 --- a/core/types/gen_log_rlp.go +++ b/core/types/gen_log_rlp.go @@ -2,7 +2,7 @@ package types -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *Log) EncodeRLP(_w io.Writer) error { diff --git a/core/types/gen_receipt_json.go b/core/types/gen_receipt_json.go index 4c641a972..2cdee384a 100644 --- a/core/types/gen_receipt_json.go +++ b/core/types/gen_receipt_json.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*receiptMarshaling)(nil) diff --git a/core/types/gen_withdrawal_json.go b/core/types/gen_withdrawal_json.go index 983a7f7a1..c03c74f69 100644 --- a/core/types/gen_withdrawal_json.go +++ b/core/types/gen_withdrawal_json.go @@ -5,8 +5,8 @@ package types import ( "encoding/json" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*withdrawalMarshaling)(nil) diff --git a/core/types/gen_withdrawal_rlp.go b/core/types/gen_withdrawal_rlp.go index 6a97c04c8..9755cebf0 100644 --- a/core/types/gen_withdrawal_rlp.go +++ b/core/types/gen_withdrawal_rlp.go @@ -2,7 +2,7 @@ package types -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *Withdrawal) EncodeRLP(_w io.Writer) error { diff --git a/core/types/hashes.go b/core/types/hashes.go index 43e9130fd..6df44bdb4 100644 --- a/core/types/hashes.go +++ b/core/types/hashes.go @@ -17,9 +17,9 @@ package types import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" ) var ( diff --git a/core/types/hashing.go b/core/types/hashing.go index 224d7a87e..77fa163b4 100644 --- a/core/types/hashing.go +++ b/core/types/hashing.go @@ -22,9 +22,9 @@ import ( "math" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/crypto/sha3" ) diff --git a/core/types/hashing_test.go b/core/types/hashing_test.go index d2a98ed7b..c83ce08e6 100644 --- a/core/types/hashing_test.go +++ b/core/types/hashing_test.go @@ -24,13 +24,13 @@ import ( mrand "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) func TestDeriveSha(t *testing.T) { diff --git a/core/types/log.go b/core/types/log.go index 54c7ff637..8f7fdc524 100644 --- a/core/types/log.go +++ b/core/types/log.go @@ -17,8 +17,8 @@ package types import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) //go:generate go run ../../rlp/rlpgen -type Log -out gen_log_rlp.go diff --git a/core/types/log_test.go b/core/types/log_test.go index 02eef3ecd..0f86f0a49 100644 --- a/core/types/log_test.go +++ b/core/types/log_test.go @@ -23,8 +23,8 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var unmarshalLogTests = map[string]struct { diff --git a/core/types/receipt.go b/core/types/receipt.go index 4f96fde59..ad784a932 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -24,11 +24,11 @@ import ( "math/big" "unsafe" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) //go:generate go run github.com/fjl/gencodec -type Receipt -field-override receiptMarshaling -out gen_receipt_json.go diff --git a/core/types/receipt_test.go b/core/types/receipt_test.go index a7b264447..05de0f221 100644 --- a/core/types/receipt_test.go +++ b/core/types/receipt_test.go @@ -24,9 +24,9 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "github.com/holiman/uint256" "github.com/kylelemons/godebug/diff" ) diff --git a/core/types/rlp_fuzzer_test.go b/core/types/rlp_fuzzer_test.go index a3b9f7243..07dc57ccf 100644 --- a/core/types/rlp_fuzzer_test.go +++ b/core/types/rlp_fuzzer_test.go @@ -22,7 +22,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" "github.com/holiman/uint256" ) diff --git a/core/types/state_account.go b/core/types/state_account.go index 52ef843b3..6385be37e 100644 --- a/core/types/state_account.go +++ b/core/types/state_account.go @@ -19,8 +19,8 @@ package types import ( "bytes" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/rlp" "github.com/holiman/uint256" ) diff --git a/core/types/transaction.go b/core/types/transaction.go index 7d2e9d532..ed1197023 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -25,10 +25,10 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" ) var ( diff --git a/core/types/transaction_marshalling.go b/core/types/transaction_marshalling.go index 08ce80b07..9fc7c452c 100644 --- a/core/types/transaction_marshalling.go +++ b/core/types/transaction_marshalling.go @@ -21,8 +21,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" "github.com/holiman/uint256" ) diff --git a/core/types/transaction_signing.go b/core/types/transaction_signing.go index 9e26642f7..63fbfb822 100644 --- a/core/types/transaction_signing.go +++ b/core/types/transaction_signing.go @@ -22,9 +22,9 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" ) var ErrInvalidChainId = errors.New("invalid chain id for signer") diff --git a/core/types/transaction_signing_test.go b/core/types/transaction_signing_test.go index 61b78fe02..c7f0b7ba7 100644 --- a/core/types/transaction_signing_test.go +++ b/core/types/transaction_signing_test.go @@ -22,10 +22,10 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) func TestEIP155Signing(t *testing.T) { diff --git a/core/types/transaction_test.go b/core/types/transaction_test.go index 76a010d2e..fc332a943 100644 --- a/core/types/transaction_test.go +++ b/core/types/transaction_test.go @@ -26,9 +26,9 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" ) // The values in those tests are from the Transaction Tests diff --git a/core/types/tx_access_list.go b/core/types/tx_access_list.go index 730a77b75..a6673f170 100644 --- a/core/types/tx_access_list.go +++ b/core/types/tx_access_list.go @@ -20,8 +20,8 @@ import ( "bytes" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/rlp" ) //go:generate go run github.com/fjl/gencodec -type AccessTuple -out gen_access_tuple.go diff --git a/core/types/tx_blob.go b/core/types/tx_blob.go index caede7cc5..64e8927f9 100644 --- a/core/types/tx_blob.go +++ b/core/types/tx_blob.go @@ -21,10 +21,10 @@ import ( "crypto/sha256" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" "github.com/holiman/uint256" ) diff --git a/core/types/tx_blob_test.go b/core/types/tx_blob_test.go index 25d09e31c..3825a9baa 100644 --- a/core/types/tx_blob_test.go +++ b/core/types/tx_blob_test.go @@ -4,9 +4,9 @@ import ( "crypto/ecdsa" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" "github.com/holiman/uint256" ) diff --git a/core/types/tx_dynamic_fee.go b/core/types/tx_dynamic_fee.go index 8b5b514fd..02328ca20 100644 --- a/core/types/tx_dynamic_fee.go +++ b/core/types/tx_dynamic_fee.go @@ -20,8 +20,8 @@ import ( "bytes" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/rlp" ) // DynamicFeeTx represents an EIP-1559 transaction. diff --git a/core/types/tx_legacy.go b/core/types/tx_legacy.go index 71025b78f..36fdb4418 100644 --- a/core/types/tx_legacy.go +++ b/core/types/tx_legacy.go @@ -20,7 +20,7 @@ import ( "bytes" "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // LegacyTx is the transaction data of the original Ethereum transactions. diff --git a/core/types/types_test.go b/core/types/types_test.go index 1fb386d5d..b04f3e3cf 100644 --- a/core/types/types_test.go +++ b/core/types/types_test.go @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" ) type devnull struct{ len int } diff --git a/core/types/withdrawal.go b/core/types/withdrawal.go index d1ad918f9..858b8a6aa 100644 --- a/core/types/withdrawal.go +++ b/core/types/withdrawal.go @@ -19,9 +19,9 @@ package types import ( "bytes" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/rlp" ) //go:generate go run github.com/fjl/gencodec -type Withdrawal -field-override withdrawalMarshaling -out gen_withdrawal_json.go diff --git a/core/vm/analysis_test.go b/core/vm/analysis_test.go index 398861f8a..2f72057b2 100644 --- a/core/vm/analysis_test.go +++ b/core/vm/analysis_test.go @@ -20,7 +20,7 @@ import ( "math/bits" "testing" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/crypto" ) func TestJumpDestAnalysis(t *testing.T) { diff --git a/core/vm/common.go b/core/vm/common.go index 90ba4a4ad..06215c23a 100644 --- a/core/vm/common.go +++ b/core/vm/common.go @@ -17,8 +17,8 @@ package vm import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" "github.com/holiman/uint256" ) diff --git a/core/vm/contract.go b/core/vm/contract.go index 16b669ebc..e8943f02c 100644 --- a/core/vm/contract.go +++ b/core/vm/contract.go @@ -17,7 +17,7 @@ package vm import ( - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" "github.com/holiman/uint256" ) diff --git a/core/vm/contracts.go b/core/vm/contracts.go index 33a867654..90183dac6 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -23,14 +23,14 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/blake2b" - "github.com/ethereum/go-ethereum/crypto/bls12381" - "github.com/ethereum/go-ethereum/crypto/bn256" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/crypto/blake2b" + "github.com/KP-Universe/go-kpu/crypto/bls12381" + "github.com/KP-Universe/go-kpu/crypto/bn256" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/params" "golang.org/x/crypto/ripemd160" ) diff --git a/core/vm/contracts_fuzz_test.go b/core/vm/contracts_fuzz_test.go index 87c1fff7c..749bb4e69 100644 --- a/core/vm/contracts_fuzz_test.go +++ b/core/vm/contracts_fuzz_test.go @@ -19,7 +19,7 @@ package vm import ( "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func FuzzPrecompiledContracts(f *testing.F) { diff --git a/core/vm/contracts_test.go b/core/vm/contracts_test.go index f40e2c8f9..45a508bb7 100644 --- a/core/vm/contracts_test.go +++ b/core/vm/contracts_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // precompiledTest defines the input/output pairs for precompiled contract tests. diff --git a/core/vm/eips.go b/core/vm/eips.go index 9f06b2818..0fb314f81 100644 --- a/core/vm/eips.go +++ b/core/vm/eips.go @@ -20,8 +20,8 @@ import ( "fmt" "sort" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/vm/evm.go b/core/vm/evm.go index 985e6a9ae..706933339 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -20,10 +20,10 @@ import ( "math/big" "sync/atomic" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/vm/gas_table.go b/core/vm/gas_table.go index 4b141d8f9..7f0863dfd 100644 --- a/core/vm/gas_table.go +++ b/core/vm/gas_table.go @@ -19,9 +19,9 @@ package vm import ( "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/params" ) // memoryGasCost calculates the quadratic gas for memory expansion. It does so diff --git a/core/vm/gas_table_test.go b/core/vm/gas_table_test.go index 4a2545b6e..ec9edf1a7 100644 --- a/core/vm/gas_table_test.go +++ b/core/vm/gas_table_test.go @@ -23,12 +23,12 @@ import ( "sort" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index ff78833ed..2f64310bf 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -17,10 +17,10 @@ package vm import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/vm/instructions_test.go b/core/vm/instructions_test.go index 8653864d1..f0fed2a1a 100644 --- a/core/vm/instructions_test.go +++ b/core/vm/instructions_test.go @@ -25,13 +25,13 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/vm/interface.go b/core/vm/interface.go index 25bfa0672..a5828ff80 100644 --- a/core/vm/interface.go +++ b/core/vm/interface.go @@ -19,9 +19,9 @@ package vm import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index 28da2e80e..95f12775c 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -17,10 +17,10 @@ package vm import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" ) // Config are the configuration options for the Interpreter diff --git a/core/vm/interpreter_test.go b/core/vm/interpreter_test.go index ff4977d72..c580db17f 100644 --- a/core/vm/interpreter_test.go +++ b/core/vm/interpreter_test.go @@ -20,12 +20,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index 65716f944..4b95e70ea 100644 --- a/core/vm/jump_table.go +++ b/core/vm/jump_table.go @@ -19,7 +19,7 @@ package vm import ( "fmt" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) type ( diff --git a/core/vm/jump_table_export.go b/core/vm/jump_table_export.go index b74109da0..ad31a4c14 100644 --- a/core/vm/jump_table_export.go +++ b/core/vm/jump_table_export.go @@ -19,7 +19,7 @@ package vm import ( "errors" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) // LookupInstructionSet returns the instruction set for the fork configured by diff --git a/core/vm/logger.go b/core/vm/logger.go index 2667908a8..325e0c4dc 100644 --- a/core/vm/logger.go +++ b/core/vm/logger.go @@ -19,7 +19,7 @@ package vm import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // EVMLogger is used to collect execution traces from an EVM transaction diff --git a/core/vm/memory_test.go b/core/vm/memory_test.go index ba36f8023..bef9cb93b 100644 --- a/core/vm/memory_test.go +++ b/core/vm/memory_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func TestMemoryCopy(t *testing.T) { diff --git a/core/vm/operations_acl.go b/core/vm/operations_acl.go index bca6d1e83..1036812c1 100644 --- a/core/vm/operations_acl.go +++ b/core/vm/operations_acl.go @@ -19,9 +19,9 @@ package vm import ( "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/params" ) func makeGasSStoreFunc(clearingRefund uint64) gasFunc { diff --git a/core/vm/runtime/env.go b/core/vm/runtime/env.go index 34335b8e9..8ced14f7b 100644 --- a/core/vm/runtime/env.go +++ b/core/vm/runtime/env.go @@ -17,8 +17,8 @@ package runtime import ( - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/vm" ) func NewEnv(cfg *Config) *vm.EVM { diff --git a/core/vm/runtime/runtime.go b/core/vm/runtime/runtime.go index 46f2bb5d5..90847788c 100644 --- a/core/vm/runtime/runtime.go +++ b/core/vm/runtime/runtime.go @@ -20,13 +20,13 @@ import ( "math" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/core/vm/runtime/runtime_example_test.go b/core/vm/runtime/runtime_example_test.go index b7d0ddc38..e6fdb3f4a 100644 --- a/core/vm/runtime/runtime_example_test.go +++ b/core/vm/runtime/runtime_example_test.go @@ -19,8 +19,8 @@ package runtime_test import ( "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm/runtime" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/vm/runtime" ) func ExampleExecute() { diff --git a/core/vm/runtime/runtime_test.go b/core/vm/runtime/runtime_test.go index b9e3c8ed6..1d496549c 100644 --- a/core/vm/runtime/runtime_test.go +++ b/core/vm/runtime/runtime_test.go @@ -23,21 +23,21 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/asm" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/asm" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/params" // force-load js tracers to trigger registration - _ "github.com/ethereum/go-ethereum/eth/tracers/js" + _ "github.com/KP-Universe/go-kpu/eth/tracers/js" "github.com/holiman/uint256" ) diff --git a/core/vm/stack_table.go b/core/vm/stack_table.go index 10c12901a..6cde967b1 100644 --- a/core/vm/stack_table.go +++ b/core/vm/stack_table.go @@ -17,7 +17,7 @@ package vm import ( - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) func minSwapStack(n int) int { diff --git a/crypto/bls12381/g1_test.go b/crypto/bls12381/g1_test.go index 87140459f..bcd2a6fe5 100644 --- a/crypto/bls12381/g1_test.go +++ b/crypto/bls12381/g1_test.go @@ -6,7 +6,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func (g *G1) one() *PointG1 { diff --git a/crypto/bls12381/g2_test.go b/crypto/bls12381/g2_test.go index 4d1f3a19a..304110ee1 100644 --- a/crypto/bls12381/g2_test.go +++ b/crypto/bls12381/g2_test.go @@ -6,7 +6,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func (g *G2) one() *PointG2 { diff --git a/crypto/bls12381/pairing_test.go b/crypto/bls12381/pairing_test.go index 77676fe9b..b4f0bfae6 100644 --- a/crypto/bls12381/pairing_test.go +++ b/crypto/bls12381/pairing_test.go @@ -4,7 +4,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func TestPairingExpected(t *testing.T) { diff --git a/crypto/bls12381/utils.go b/crypto/bls12381/utils.go index de8bf495f..195cc71b7 100644 --- a/crypto/bls12381/utils.go +++ b/crypto/bls12381/utils.go @@ -20,7 +20,7 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func bigFromHex(hex string) *big.Int { diff --git a/crypto/bn256/bn256_fast.go b/crypto/bn256/bn256_fast.go index e3c9b6051..2c6f60b2a 100644 --- a/crypto/bn256/bn256_fast.go +++ b/crypto/bn256/bn256_fast.go @@ -9,7 +9,7 @@ package bn256 import ( - bn256cf "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare" + bn256cf "github.com/KP-Universe/go-kpu/crypto/bn256/cloudflare" ) // G1 is an abstract cyclic group. The zero value is suitable for use as the diff --git a/crypto/bn256/bn256_slow.go b/crypto/bn256/bn256_slow.go index 4c0c351e2..be7c81af2 100644 --- a/crypto/bn256/bn256_slow.go +++ b/crypto/bn256/bn256_slow.go @@ -8,7 +8,7 @@ // Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve. package bn256 -import bn256 "github.com/ethereum/go-ethereum/crypto/bn256/google" +import bn256 "github.com/KP-Universe/go-kpu/crypto/bn256/google" // G1 is an abstract cyclic group. The zero value is suitable for use as the // output of an operation, but cannot be used as an input. diff --git a/crypto/crypto.go b/crypto/crypto.go index 2492165d3..e8a93796d 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -29,9 +29,9 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/crypto/sha3" ) diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go index da123cf98..484691b23 100644 --- a/crypto/crypto_test.go +++ b/crypto/crypto_test.go @@ -25,8 +25,8 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var testAddrHex = "970e8128ab834e8eac17ab8e3812f010678cf791" diff --git a/crypto/ecies/ecies_test.go b/crypto/ecies/ecies_test.go index e3da71010..7e1c14bb6 100644 --- a/crypto/ecies/ecies_test.go +++ b/crypto/ecies/ecies_test.go @@ -39,7 +39,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/crypto" ) func TestKDF(t *testing.T) { diff --git a/crypto/ecies/params.go b/crypto/ecies/params.go index df7698ea0..39750112b 100644 --- a/crypto/ecies/params.go +++ b/crypto/ecies/params.go @@ -43,7 +43,7 @@ import ( "fmt" "hash" - ethcrypto "github.com/ethereum/go-ethereum/crypto" + ethcrypto "github.com/KP-Universe/go-kpu/crypto" ) var ( diff --git a/crypto/kzg4844/kzg4844_ckzg_cgo.go b/crypto/kzg4844/kzg4844_ckzg_cgo.go index 540028569..9ed3ae90e 100644 --- a/crypto/kzg4844/kzg4844_ckzg_cgo.go +++ b/crypto/kzg4844/kzg4844_ckzg_cgo.go @@ -25,7 +25,7 @@ import ( gokzg4844 "github.com/crate-crypto/go-kzg-4844" ckzg4844 "github.com/ethereum/c-kzg-4844/bindings/go" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // ckzgAvailable signals whether the library was compiled into Geth. diff --git a/crypto/secp256k1/dummy.go b/crypto/secp256k1/dummy.go index 65a75080f..95563d6fb 100644 --- a/crypto/secp256k1/dummy.go +++ b/crypto/secp256k1/dummy.go @@ -15,7 +15,7 @@ package secp256k1 import ( - _ "github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/include" - _ "github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src" - _ "github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/modules/recovery" + _ "github.com/KP-Universe/go-kpu/crypto/secp256k1/libsecp256k1/include" + _ "github.com/KP-Universe/go-kpu/crypto/secp256k1/libsecp256k1/src" + _ "github.com/KP-Universe/go-kpu/crypto/secp256k1/libsecp256k1/src/modules/recovery" ) diff --git a/crypto/signature_cgo.go b/crypto/signature_cgo.go index 2339e5201..da4b589b2 100644 --- a/crypto/signature_cgo.go +++ b/crypto/signature_cgo.go @@ -25,8 +25,8 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto/secp256k1" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto/secp256k1" ) // Ecrecover returns the uncompressed public key that created the given signature. diff --git a/crypto/signature_test.go b/crypto/signature_test.go index aecff76bf..402e1cf3b 100644 --- a/crypto/signature_test.go +++ b/crypto/signature_test.go @@ -22,9 +22,9 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" ) var ( diff --git a/eth/api.go b/eth/api.go index 44e934fd0..e04934069 100644 --- a/eth/api.go +++ b/eth/api.go @@ -17,8 +17,8 @@ package eth import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // EthereumAPI provides an API to access Ethereum full node-related information. diff --git a/eth/api_admin.go b/eth/api_admin.go index 4a3ccb84e..c2c98d6ff 100644 --- a/eth/api_admin.go +++ b/eth/api_admin.go @@ -24,9 +24,9 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" ) // AdminAPI is the collection of Ethereum full node related APIs for node diff --git a/eth/api_backend.go b/eth/api_backend.go index 0edcce5c8..684ca7703 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -22,24 +22,24 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/gasprice" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) // EthAPIBackend implements ethapi.Backend and tracers.Backend for full nodes diff --git a/eth/api_debug.go b/eth/api_debug.go index 05010a396..c86273748 100644 --- a/eth/api_debug.go +++ b/eth/api_debug.go @@ -22,17 +22,17 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/trie" ) // DebugAPI is the collection of Ethereum full node APIs for debugging the diff --git a/eth/api_debug_test.go b/eth/api_debug_test.go index 4641735cc..d0d23d193 100644 --- a/eth/api_debug_test.go +++ b/eth/api_debug_test.go @@ -24,12 +24,12 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" "golang.org/x/exp/slices" ) diff --git a/eth/api_miner.go b/eth/api_miner.go index 477531d49..0ff9c9738 100644 --- a/eth/api_miner.go +++ b/eth/api_miner.go @@ -20,8 +20,8 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // MinerAPI provides an API to control the miner. diff --git a/eth/backend.go b/eth/backend.go index aff23a910..7bfe0b1a5 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -24,39 +24,39 @@ import ( "runtime" "sync" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/pruner" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/txpool/blobpool" - "github.com/ethereum/go-ethereum/core/txpool/legacypool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/shutdowncheck" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/dnsdisc" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/clique" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state/pruner" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/txpool/blobpool" + "github.com/KP-Universe/go-kpu/core/txpool/legacypool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/eth/gasprice" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/internal/shutdowncheck" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/dnsdisc" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/rpc" ) // Config contains the configuration options of the ETH protocol. diff --git a/eth/bloombits.go b/eth/bloombits.go index 0cb7050d2..72030737e 100644 --- a/eth/bloombits.go +++ b/eth/bloombits.go @@ -19,8 +19,8 @@ package eth import ( "time" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/core/rawdb" + "github.com/KP-Universe/go-kpu/common/bitutil" + "github.com/KP-Universe/go-kpu/core/rawdb" ) const ( diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index c48a7d0e4..4372315df 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -23,18 +23,18 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/beacon/engine" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params/forks" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/beacon/engine" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/params/forks" + "github.com/KP-Universe/go-kpu/rpc" ) // Register adds the engine API to the full node. diff --git a/eth/catalyst/api_test.go b/eth/catalyst/api_test.go index f1d48d0de..a1bfab921 100644 --- a/eth/catalyst/api_test.go +++ b/eth/catalyst/api_test.go @@ -28,26 +28,26 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/beacon/engine" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - beaconConsensus "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/beacon/engine" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus" + beaconConsensus "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/trie" "github.com/mattn/go-colorable" ) diff --git a/eth/catalyst/queue.go b/eth/catalyst/queue.go index 634dc1b2e..32dc6c0ff 100644 --- a/eth/catalyst/queue.go +++ b/eth/catalyst/queue.go @@ -19,10 +19,10 @@ package catalyst import ( "sync" - "github.com/ethereum/go-ethereum/beacon/engine" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/miner" + "github.com/KP-Universe/go-kpu/beacon/engine" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/miner" ) // maxTrackedPayloads is the maximum number of prepared payloads the execution diff --git a/eth/catalyst/simulated_beacon.go b/eth/catalyst/simulated_beacon.go index 5ad50f14c..28a5dacb0 100644 --- a/eth/catalyst/simulated_beacon.go +++ b/eth/catalyst/simulated_beacon.go @@ -23,14 +23,14 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/beacon/engine" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/beacon/engine" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) const devEpochLength = 32 diff --git a/eth/catalyst/simulated_beacon_api.go b/eth/catalyst/simulated_beacon_api.go index 73d0a5921..b7e44f457 100644 --- a/eth/catalyst/simulated_beacon_api.go +++ b/eth/catalyst/simulated_beacon_api.go @@ -20,10 +20,10 @@ import ( "context" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" ) type api struct { diff --git a/eth/catalyst/simulated_beacon_test.go b/eth/catalyst/simulated_beacon_test.go index 6fa97ad87..493bd7b84 100644 --- a/eth/catalyst/simulated_beacon_test.go +++ b/eth/catalyst/simulated_beacon_test.go @@ -22,16 +22,16 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/params" ) func startSimulatedBeaconEthService(t *testing.T, genesis *core.Genesis) (*node.Node, *eth.Ethereum, *SimulatedBeacon) { diff --git a/eth/catalyst/tester.go b/eth/catalyst/tester.go index 0922ac0ba..e3ab36ca3 100644 --- a/eth/catalyst/tester.go +++ b/eth/catalyst/tester.go @@ -20,11 +20,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" ) // FullSyncTester is an auxiliary service that allows Geth to perform full sync diff --git a/eth/downloader/api.go b/eth/downloader/api.go index f09122904..ab020f59f 100644 --- a/eth/downloader/api.go +++ b/eth/downloader/api.go @@ -21,10 +21,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/rpc" ) // DownloaderAPI provides an API which gives information about the current diff --git a/eth/downloader/beacondevsync.go b/eth/downloader/beacondevsync.go index 9a38fedd4..e762dbec1 100644 --- a/eth/downloader/beacondevsync.go +++ b/eth/downloader/beacondevsync.go @@ -20,8 +20,8 @@ import ( "errors" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" ) // BeaconDevSync is a development helper to test synchronization by providing diff --git a/eth/downloader/beaconsync.go b/eth/downloader/beaconsync.go index d3f75c852..27754e70c 100644 --- a/eth/downloader/beaconsync.go +++ b/eth/downloader/beaconsync.go @@ -21,10 +21,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" ) // beaconBackfiller is the chain and state backfilling that can be commenced once diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 8d449246a..6a3536edd 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -25,17 +25,17 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" ) var ( diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go index e4875b959..639d0f1e6 100644 --- a/eth/downloader/downloader_test.go +++ b/eth/downloader/downloader_test.go @@ -26,20 +26,20 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) // downloadTester is a test simulator for mocking out local block chain. diff --git a/eth/downloader/events.go b/eth/downloader/events.go index 25255a3a7..f0edb86b6 100644 --- a/eth/downloader/events.go +++ b/eth/downloader/events.go @@ -16,7 +16,7 @@ package downloader -import "github.com/ethereum/go-ethereum/core/types" +import "github.com/KP-Universe/go-kpu/core/types" type DoneEvent struct { Latest *types.Header diff --git a/eth/downloader/fetchers.go b/eth/downloader/fetchers.go index cc4279b0d..a71d9d9ac 100644 --- a/eth/downloader/fetchers.go +++ b/eth/downloader/fetchers.go @@ -19,9 +19,9 @@ package downloader import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" ) // fetchHeadersByHash is a blocking version of Peer.RequestHeadersByHash which diff --git a/eth/downloader/fetchers_concurrent.go b/eth/downloader/fetchers_concurrent.go index 649aa2761..678e9777b 100644 --- a/eth/downloader/fetchers_concurrent.go +++ b/eth/downloader/fetchers_concurrent.go @@ -21,10 +21,10 @@ import ( "sort" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/prque" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/prque" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/log" ) // timeoutGracePeriod is the amount of time to allow for a peer to deliver a diff --git a/eth/downloader/fetchers_concurrent_bodies.go b/eth/downloader/fetchers_concurrent_bodies.go index 5105fda66..6d281a915 100644 --- a/eth/downloader/fetchers_concurrent_bodies.go +++ b/eth/downloader/fetchers_concurrent_bodies.go @@ -19,9 +19,9 @@ package downloader import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/log" ) // bodyQueue implements typedQueue and is a type adapter between the generic diff --git a/eth/downloader/fetchers_concurrent_headers.go b/eth/downloader/fetchers_concurrent_headers.go index 8201f4ca7..fbe18dae9 100644 --- a/eth/downloader/fetchers_concurrent_headers.go +++ b/eth/downloader/fetchers_concurrent_headers.go @@ -19,9 +19,9 @@ package downloader import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/log" ) // headerQueue implements typedQueue and is a type adapter between the generic diff --git a/eth/downloader/fetchers_concurrent_receipts.go b/eth/downloader/fetchers_concurrent_receipts.go index 3169f030b..51ba2a91d 100644 --- a/eth/downloader/fetchers_concurrent_receipts.go +++ b/eth/downloader/fetchers_concurrent_receipts.go @@ -19,9 +19,9 @@ package downloader import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/log" ) // receiptQueue implements typedQueue and is a type adapter between the generic diff --git a/eth/downloader/metrics.go b/eth/downloader/metrics.go index 23c033a8a..52d922b95 100644 --- a/eth/downloader/metrics.go +++ b/eth/downloader/metrics.go @@ -19,7 +19,7 @@ package downloader import ( - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) var ( diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go index 4c43af527..c8d006f29 100644 --- a/eth/downloader/peer.go +++ b/eth/downloader/peer.go @@ -25,11 +25,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/msgrate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/msgrate" ) const ( diff --git a/eth/downloader/queue.go b/eth/downloader/queue.go index 6ff858d75..d7b7c9947 100644 --- a/eth/downloader/queue.go +++ b/eth/downloader/queue.go @@ -26,13 +26,13 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/prque" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto/kzg4844" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/prque" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto/kzg4844" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/params" ) const ( diff --git a/eth/downloader/queue_test.go b/eth/downloader/queue_test.go index 50b9031a2..a7f07ff89 100644 --- a/eth/downloader/queue_test.go +++ b/eth/downloader/queue_test.go @@ -25,13 +25,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" "golang.org/x/exp/slog" ) diff --git a/eth/downloader/resultstore.go b/eth/downloader/resultstore.go index e4323c04e..4650d77e9 100644 --- a/eth/downloader/resultstore.go +++ b/eth/downloader/resultstore.go @@ -21,7 +21,7 @@ import ( "sync" "sync/atomic" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/core/types" ) // resultStore implements a structure for maintaining fetchResults, tracking their diff --git a/eth/downloader/skeleton.go b/eth/downloader/skeleton.go index 873ee950b..84256420b 100644 --- a/eth/downloader/skeleton.go +++ b/eth/downloader/skeleton.go @@ -24,12 +24,12 @@ import ( "sort" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) // scratchHeaders is the number of headers to store in a scratch space to allow diff --git a/eth/downloader/skeleton_test.go b/eth/downloader/skeleton_test.go index aceadd00d..b86507d76 100644 --- a/eth/downloader/skeleton_test.go +++ b/eth/downloader/skeleton_test.go @@ -25,11 +25,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/log" ) // hookedBackfiller is a tester backfiller with all interface methods mocked and diff --git a/eth/downloader/statesync.go b/eth/downloader/statesync.go index 501af63ed..af0f96fd3 100644 --- a/eth/downloader/statesync.go +++ b/eth/downloader/statesync.go @@ -19,8 +19,8 @@ package downloader import ( "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" ) // syncState starts downloading state with the given root hash. diff --git a/eth/downloader/testchain_test.go b/eth/downloader/testchain_test.go index 1bf03411d..b8f4a3e43 100644 --- a/eth/downloader/testchain_test.go +++ b/eth/downloader/testchain_test.go @@ -22,15 +22,15 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" ) // Test chain parameters. diff --git a/eth/ethconfig/config.go b/eth/ethconfig/config.go index ad664afb5..8bcd2cf37 100644 --- a/eth/ethconfig/config.go +++ b/eth/ethconfig/config.go @@ -21,19 +21,19 @@ import ( "errors" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/txpool/blobpool" - "github.com/ethereum/go-ethereum/core/txpool/legacypool" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/clique" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/txpool/blobpool" + "github.com/KP-Universe/go-kpu/core/txpool/legacypool" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/gasprice" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/params" ) // FullNodeGPO contains default gasprice oracle settings for full node. diff --git a/eth/ethconfig/gen_config.go b/eth/ethconfig/gen_config.go index 2abddc9e0..87ce98789 100644 --- a/eth/ethconfig/gen_config.go +++ b/eth/ethconfig/gen_config.go @@ -5,13 +5,13 @@ package ethconfig import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/txpool/blobpool" - "github.com/ethereum/go-ethereum/core/txpool/legacypool" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/miner" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/txpool/blobpool" + "github.com/KP-Universe/go-kpu/core/txpool/legacypool" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/gasprice" + "github.com/KP-Universe/go-kpu/miner" ) // MarshalTOML marshals as TOML. diff --git a/eth/fetcher/block_fetcher.go b/eth/fetcher/block_fetcher.go index 126eaaea7..4ef70ce84 100644 --- a/eth/fetcher/block_fetcher.go +++ b/eth/fetcher/block_fetcher.go @@ -22,14 +22,14 @@ import ( "math/rand" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/prque" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/prque" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/trie" ) const ( diff --git a/eth/fetcher/block_fetcher_test.go b/eth/fetcher/block_fetcher_test.go index 6927300b1..3fcd04d5a 100644 --- a/eth/fetcher/block_fetcher_test.go +++ b/eth/fetcher/block_fetcher_test.go @@ -24,15 +24,15 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" ) var ( diff --git a/eth/fetcher/tx_fetcher.go b/eth/fetcher/tx_fetcher.go index ea7892d8d..75fe22ad9 100644 --- a/eth/fetcher/tx_fetcher.go +++ b/eth/fetcher/tx_fetcher.go @@ -25,13 +25,13 @@ import ( "sort" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" ) const ( diff --git a/eth/fetcher/tx_fetcher_test.go b/eth/fetcher/tx_fetcher_test.go index 4a62e579b..27e4bd2e5 100644 --- a/eth/fetcher/tx_fetcher_test.go +++ b/eth/fetcher/tx_fetcher_test.go @@ -23,11 +23,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" ) var ( diff --git a/eth/filters/api.go b/eth/filters/api.go index 8cf701ec5..cf1e5450f 100644 --- a/eth/filters/api.go +++ b/eth/filters/api.go @@ -25,12 +25,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/rpc" ) var ( diff --git a/eth/filters/api_test.go b/eth/filters/api_test.go index 822bc826f..9df6dd430 100644 --- a/eth/filters/api_test.go +++ b/eth/filters/api_test.go @@ -21,8 +21,8 @@ import ( "fmt" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/rpc" ) func TestUnmarshalJSONNewFilterArgs(t *testing.T) { diff --git a/eth/filters/bench_test.go b/eth/filters/bench_test.go index 73b96b77a..af731decd 100644 --- a/eth/filters/bench_test.go +++ b/eth/filters/bench_test.go @@ -22,13 +22,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/node" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/bitutil" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/node" ) func BenchmarkBloomBits512(b *testing.B) { diff --git a/eth/filters/filter.go b/eth/filters/filter.go index 83e3284a2..a2ad476a7 100644 --- a/eth/filters/filter.go +++ b/eth/filters/filter.go @@ -21,10 +21,10 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rpc" ) // Filter can be used to retrieve and filter logs. diff --git a/eth/filters/filter_system.go b/eth/filters/filter_system.go index f98a1f84c..f1da63530 100644 --- a/eth/filters/filter_system.go +++ b/eth/filters/filter_system.go @@ -25,18 +25,18 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) // Config represents the configuration of the filter system. diff --git a/eth/filters/filter_system_test.go b/eth/filters/filter_system_test.go index 27cad8826..f7839642b 100644 --- a/eth/filters/filter_system_test.go +++ b/eth/filters/filter_system_test.go @@ -27,19 +27,19 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) type testBackend struct { diff --git a/eth/filters/filter_test.go b/eth/filters/filter_test.go index 4250e3a9b..22e247ed7 100644 --- a/eth/filters/filter_test.go +++ b/eth/filters/filter_test.go @@ -24,17 +24,17 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/trie" ) func makeReceipt(addr common.Address) *types.Receipt { diff --git a/eth/gasestimator/gasestimator.go b/eth/gasestimator/gasestimator.go index f07f98956..675de334b 100644 --- a/eth/gasestimator/gasestimator.go +++ b/eth/gasestimator/gasestimator.go @@ -23,13 +23,13 @@ import ( "math" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" ) // Options are the contextual parameters to execute the requested call. diff --git a/eth/gasprice/feehistory.go b/eth/gasprice/feehistory.go index 226991b24..4bb15fd3c 100644 --- a/eth/gasprice/feehistory.go +++ b/eth/gasprice/feehistory.go @@ -25,11 +25,11 @@ import ( "math/big" "sync/atomic" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" "golang.org/x/exp/slices" ) diff --git a/eth/gasprice/feehistory_test.go b/eth/gasprice/feehistory_test.go index 1bcfb287a..b5b642097 100644 --- a/eth/gasprice/feehistory_test.go +++ b/eth/gasprice/feehistory_test.go @@ -22,7 +22,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/rpc" ) func TestFeeHistory(t *testing.T) { diff --git a/eth/gasprice/gasprice.go b/eth/gasprice/gasprice.go index b71964981..e3240bd60 100644 --- a/eth/gasprice/gasprice.go +++ b/eth/gasprice/gasprice.go @@ -21,14 +21,14 @@ import ( "math/big" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" "golang.org/x/exp/slices" ) diff --git a/eth/gasprice/gasprice_test.go b/eth/gasprice/gasprice_test.go index 4ee5a0d1b..24188e307 100644 --- a/eth/gasprice/gasprice_test.go +++ b/eth/gasprice/gasprice_test.go @@ -22,16 +22,16 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) const testHead = 32 diff --git a/eth/handler.go b/eth/handler.go index a327af611..5f603d4fa 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -24,24 +24,24 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/fetcher" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/forkid" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/fetcher" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" ) const ( diff --git a/eth/handler_eth.go b/eth/handler_eth.go index 2a839f615..0c4fcf569 100644 --- a/eth/handler_eth.go +++ b/eth/handler_eth.go @@ -22,11 +22,11 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // ethHandler implements the eth.Backend interface to handle the various network diff --git a/eth/handler_eth_test.go b/eth/handler_eth_test.go index bb342acc1..e034c4ef5 100644 --- a/eth/handler_eth_test.go +++ b/eth/handler_eth_test.go @@ -22,20 +22,20 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/forkid" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/params" ) // testEthHandler is a mock event handler to listen for inbound network requests diff --git a/eth/handler_snap.go b/eth/handler_snap.go index 767416ffd..2abc8820f 100644 --- a/eth/handler_snap.go +++ b/eth/handler_snap.go @@ -17,9 +17,9 @@ package eth import ( - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // snapHandler implements the snap.Backend interface to handle the various network diff --git a/eth/handler_test.go b/eth/handler_test.go index 6d6132ee4..4294bf0be 100644 --- a/eth/handler_test.go +++ b/eth/handler_test.go @@ -21,19 +21,19 @@ import ( "sort" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/params" ) var ( diff --git a/eth/peer.go b/eth/peer.go index 761877771..8bb6c8426 100644 --- a/eth/peer.go +++ b/eth/peer.go @@ -17,8 +17,8 @@ package eth import ( - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" ) // ethPeerInfo represents a short summary of the `eth` sub-protocol metadata known diff --git a/eth/peerset.go b/eth/peerset.go index c0c11e3e8..962b92ed5 100644 --- a/eth/peerset.go +++ b/eth/peerset.go @@ -22,10 +22,10 @@ import ( "math/big" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/p2p" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/p2p" ) var ( diff --git a/eth/protocols/eth/broadcast.go b/eth/protocols/eth/broadcast.go index 3045303f2..5252a3ad6 100644 --- a/eth/protocols/eth/broadcast.go +++ b/eth/protocols/eth/broadcast.go @@ -19,8 +19,8 @@ package eth import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) const ( diff --git a/eth/protocols/eth/discovery.go b/eth/protocols/eth/discovery.go index a7bdd47da..f114b5ae5 100644 --- a/eth/protocols/eth/discovery.go +++ b/eth/protocols/eth/discovery.go @@ -17,10 +17,10 @@ package eth import ( - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/forkid" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/rlp" ) // enrEntry is the ENR entry which advertises `eth` protocol on the discovery. diff --git a/eth/protocols/eth/dispatcher.go b/eth/protocols/eth/dispatcher.go index ae98820cd..2f7fc0649 100644 --- a/eth/protocols/eth/dispatcher.go +++ b/eth/protocols/eth/dispatcher.go @@ -21,7 +21,7 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/p2p" + "github.com/KP-Universe/go-kpu/p2p" ) var ( diff --git a/eth/protocols/eth/handler.go b/eth/protocols/eth/handler.go index 42d0412a1..2c82076d3 100644 --- a/eth/protocols/eth/handler.go +++ b/eth/protocols/eth/handler.go @@ -21,14 +21,14 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/params" ) const ( diff --git a/eth/protocols/eth/handler_test.go b/eth/protocols/eth/handler_test.go index 41e18bfb3..0d462ad03 100644 --- a/eth/protocols/eth/handler_test.go +++ b/eth/protocols/eth/handler_test.go @@ -22,21 +22,21 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/txpool/legacypool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/txpool/legacypool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/params" ) var ( diff --git a/eth/protocols/eth/handlers.go b/eth/protocols/eth/handlers.go index 069e92dad..82767caeb 100644 --- a/eth/protocols/eth/handlers.go +++ b/eth/protocols/eth/handlers.go @@ -20,12 +20,12 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" ) func handleGetBlockHeaders(backend Backend, msg Decoder, peer *Peer) error { diff --git a/eth/protocols/eth/handshake.go b/eth/protocols/eth/handshake.go index ea16a85b1..eae8805af 100644 --- a/eth/protocols/eth/handshake.go +++ b/eth/protocols/eth/handshake.go @@ -22,10 +22,10 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/forkid" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/p2p" ) const ( diff --git a/eth/protocols/eth/handshake_test.go b/eth/protocols/eth/handshake_test.go index d96cfc816..b220f248b 100644 --- a/eth/protocols/eth/handshake_test.go +++ b/eth/protocols/eth/handshake_test.go @@ -20,10 +20,10 @@ import ( "errors" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/forkid" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // Tests that handshake failures are detected and reported correctly. diff --git a/eth/protocols/eth/metrics.go b/eth/protocols/eth/metrics.go index 5e0aee39f..f3bedcdaa 100644 --- a/eth/protocols/eth/metrics.go +++ b/eth/protocols/eth/metrics.go @@ -16,7 +16,7 @@ package eth -import "github.com/ethereum/go-ethereum/metrics" +import "github.com/KP-Universe/go-kpu/metrics" // meters stores ingress and egress handshake meters. var meters bidirectionalMeters diff --git a/eth/protocols/eth/peer.go b/eth/protocols/eth/peer.go index 98ad22a8c..1eb35dad7 100644 --- a/eth/protocols/eth/peer.go +++ b/eth/protocols/eth/peer.go @@ -22,10 +22,10 @@ import ( "sync" mapset "github.com/deckarep/golang-set/v2" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/rlp" ) const ( diff --git a/eth/protocols/eth/peer_test.go b/eth/protocols/eth/peer_test.go index efbbbc6ff..f47f3210a 100644 --- a/eth/protocols/eth/peer_test.go +++ b/eth/protocols/eth/peer_test.go @@ -23,9 +23,9 @@ import ( "crypto/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // testPeer is a simulated peer to allow testing direct network calls. diff --git a/eth/protocols/eth/protocol.go b/eth/protocols/eth/protocol.go index 0f44f83de..7d58b45c1 100644 --- a/eth/protocols/eth/protocol.go +++ b/eth/protocols/eth/protocol.go @@ -22,10 +22,10 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/forkid" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/forkid" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" ) // Constants to match up protocol versions and messages diff --git a/eth/protocols/eth/protocol_test.go b/eth/protocols/eth/protocol_test.go index bc2545dea..4a6ece30e 100644 --- a/eth/protocols/eth/protocol_test.go +++ b/eth/protocols/eth/protocol_test.go @@ -21,9 +21,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" ) // Tests that the custom union field encoder and decoder works correctly. diff --git a/eth/protocols/eth/tracker.go b/eth/protocols/eth/tracker.go index 324fd2283..ea30d0f94 100644 --- a/eth/protocols/eth/tracker.go +++ b/eth/protocols/eth/tracker.go @@ -19,7 +19,7 @@ package eth import ( "time" - "github.com/ethereum/go-ethereum/p2p/tracker" + "github.com/KP-Universe/go-kpu/p2p/tracker" ) // requestTracker is a singleton tracker for eth/66 and newer request times. diff --git a/eth/protocols/snap/discovery.go b/eth/protocols/snap/discovery.go index 684ec7e63..ebb0466d4 100644 --- a/eth/protocols/snap/discovery.go +++ b/eth/protocols/snap/discovery.go @@ -17,7 +17,7 @@ package snap import ( - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" ) // enrEntry is the ENR entry which advertises `snap` protocol on the discovery. diff --git a/eth/protocols/snap/handler.go b/eth/protocols/snap/handler.go index bd7ce9e71..57a6e411d 100644 --- a/eth/protocols/snap/handler.go +++ b/eth/protocols/snap/handler.go @@ -21,16 +21,16 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/trienode" ) const ( diff --git a/eth/protocols/snap/handler_fuzzing_test.go b/eth/protocols/snap/handler_fuzzing_test.go index daed7ed44..adc0f55c6 100644 --- a/eth/protocols/snap/handler_fuzzing_test.go +++ b/eth/protocols/snap/handler_fuzzing_test.go @@ -24,15 +24,15 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" fuzz "github.com/google/gofuzz" ) diff --git a/eth/protocols/snap/metrics.go b/eth/protocols/snap/metrics.go index a7d071953..16f5d10b2 100644 --- a/eth/protocols/snap/metrics.go +++ b/eth/protocols/snap/metrics.go @@ -17,7 +17,7 @@ package snap import ( - metrics "github.com/ethereum/go-ethereum/metrics" + metrics "github.com/KP-Universe/go-kpu/metrics" ) var ( diff --git a/eth/protocols/snap/peer.go b/eth/protocols/snap/peer.go index 3db6e22cb..faeaaffa1 100644 --- a/eth/protocols/snap/peer.go +++ b/eth/protocols/snap/peer.go @@ -17,9 +17,9 @@ package snap import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p" ) // Peer is a collection of relevant information we have about a `snap` peer. diff --git a/eth/protocols/snap/protocol.go b/eth/protocols/snap/protocol.go index 0db206b08..9170d05a7 100644 --- a/eth/protocols/snap/protocol.go +++ b/eth/protocols/snap/protocol.go @@ -20,9 +20,9 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" ) // Constants to match up protocol versions and messages diff --git a/eth/protocols/snap/range.go b/eth/protocols/snap/range.go index 8c98c71d5..f6e87b1d4 100644 --- a/eth/protocols/snap/range.go +++ b/eth/protocols/snap/range.go @@ -19,7 +19,7 @@ package snap import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" "github.com/holiman/uint256" ) diff --git a/eth/protocols/snap/range_test.go b/eth/protocols/snap/range_test.go index ea643f136..a4351caab 100644 --- a/eth/protocols/snap/range_test.go +++ b/eth/protocols/snap/range_test.go @@ -19,7 +19,7 @@ package snap import ( "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // Tests that given a starting hash and a density, the hash ranger can correctly diff --git a/eth/protocols/snap/sort_test.go b/eth/protocols/snap/sort_test.go index be0a8c570..879d02ce7 100644 --- a/eth/protocols/snap/sort_test.go +++ b/eth/protocols/snap/sort_test.go @@ -21,7 +21,7 @@ import ( "fmt" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) func hexToNibbles(s string) []byte { diff --git a/eth/protocols/snap/sync.go b/eth/protocols/snap/sync.go index 887a50775..e7fc7acbf 100644 --- a/eth/protocols/snap/sync.go +++ b/eth/protocols/snap/sync.go @@ -29,19 +29,19 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/msgrate" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/msgrate" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/trienode" "golang.org/x/crypto/sha3" ) diff --git a/eth/protocols/snap/sync_test.go b/eth/protocols/snap/sync_test.go index 73d61c2ff..7d6fb225d 100644 --- a/eth/protocols/snap/sync_test.go +++ b/eth/protocols/snap/sync_test.go @@ -27,17 +27,17 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/testutil" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/testutil" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/trie/trienode" "github.com/holiman/uint256" "golang.org/x/crypto/sha3" "golang.org/x/exp/slices" diff --git a/eth/protocols/snap/tracker.go b/eth/protocols/snap/tracker.go index 2cf59cc23..cfb6aaf80 100644 --- a/eth/protocols/snap/tracker.go +++ b/eth/protocols/snap/tracker.go @@ -19,7 +19,7 @@ package snap import ( "time" - "github.com/ethereum/go-ethereum/p2p/tracker" + "github.com/KP-Universe/go-kpu/p2p/tracker" ) // requestTracker is a singleton tracker for request times. diff --git a/eth/state_accessor.go b/eth/state_accessor.go index 24694df66..f74be28ec 100644 --- a/eth/state_accessor.go +++ b/eth/state_accessor.go @@ -22,15 +22,15 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie" ) // noopReleaser is returned in case there is no operation expected diff --git a/eth/sync.go b/eth/sync.go index c2a0f453b..86ccaa7bd 100644 --- a/eth/sync.go +++ b/eth/sync.go @@ -21,11 +21,11 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/log" ) const ( diff --git a/eth/sync_test.go b/eth/sync_test.go index d26cbb66e..ae61634d4 100644 --- a/eth/sync_test.go +++ b/eth/sync_test.go @@ -20,11 +20,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/eth/protocols/snap" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/eth/protocols/snap" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // Tests that snap sync is disabled after a successful sync cycle. diff --git a/eth/tracers/api.go b/eth/tracers/api.go index 4d4428f6c..df7cd3dee 100644 --- a/eth/tracers/api.go +++ b/eth/tracers/api.go @@ -27,21 +27,21 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/rpc" ) const ( diff --git a/eth/tracers/api_test.go b/eth/tracers/api_test.go index 8aaa20fce..1f6025250 100644 --- a/eth/tracers/api_test.go +++ b/eth/tracers/api_test.go @@ -28,21 +28,21 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" "golang.org/x/exp/slices" ) diff --git a/eth/tracers/internal/tracetest/calltrace_test.go b/eth/tracers/internal/tracetest/calltrace_test.go index 0b43a021e..43b8b5465 100644 --- a/eth/tracers/internal/tracetest/calltrace_test.go +++ b/eth/tracers/internal/tracetest/calltrace_test.go @@ -24,17 +24,17 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/tests" ) type callContext struct { diff --git a/eth/tracers/internal/tracetest/flat_calltrace_test.go b/eth/tracers/internal/tracetest/flat_calltrace_test.go index b318548bc..b2d1b8557 100644 --- a/eth/tracers/internal/tracetest/flat_calltrace_test.go +++ b/eth/tracers/internal/tracetest/flat_calltrace_test.go @@ -10,17 +10,17 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/tests" // Force-load the native, to trigger registration - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/KP-Universe/go-kpu/eth/tracers" ) // flatCallTrace is the result of a callTracerParity run. diff --git a/eth/tracers/internal/tracetest/prestate_test.go b/eth/tracers/internal/tracetest/prestate_test.go index 666a5fda7..df6b63142 100644 --- a/eth/tracers/internal/tracetest/prestate_test.go +++ b/eth/tracers/internal/tracetest/prestate_test.go @@ -24,13 +24,13 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/tests" ) // prestateTrace is the result of a prestateTrace run. diff --git a/eth/tracers/internal/tracetest/util.go b/eth/tracers/internal/tracetest/util.go index 95d292c92..6e0066efa 100644 --- a/eth/tracers/internal/tracetest/util.go +++ b/eth/tracers/internal/tracetest/util.go @@ -5,8 +5,8 @@ import ( "unicode" // Force-load native and js packages, to trigger registration - _ "github.com/ethereum/go-ethereum/eth/tracers/js" - _ "github.com/ethereum/go-ethereum/eth/tracers/native" + _ "github.com/KP-Universe/go-kpu/eth/tracers/js" + _ "github.com/KP-Universe/go-kpu/eth/tracers/native" ) // To generate a new callTracer test, copy paste the makeTest method below into diff --git a/eth/tracers/js/goja.go b/eth/tracers/js/goja.go index 07c138bae..79d95a9a9 100644 --- a/eth/tracers/js/goja.go +++ b/eth/tracers/js/goja.go @@ -24,12 +24,12 @@ import ( "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/tracers" - jsassets "github.com/ethereum/go-ethereum/eth/tracers/js/internal/tracers" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/tracers" + jsassets "github.com/KP-Universe/go-kpu/eth/tracers/js/internal/tracers" ) var assetTracers = make(map[string]string) diff --git a/eth/tracers/js/tracer_test.go b/eth/tracers/js/tracer_test.go index b7f269377..cb6d38b8b 100644 --- a/eth/tracers/js/tracer_test.go +++ b/eth/tracers/js/tracer_test.go @@ -24,11 +24,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/eth/tracers/logger/access_list_tracer.go b/eth/tracers/logger/access_list_tracer.go index 766ee4e4b..520bea2b3 100644 --- a/eth/tracers/logger/access_list_tracer.go +++ b/eth/tracers/logger/access_list_tracer.go @@ -19,9 +19,9 @@ package logger import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" ) // accessList is an accumulator for the set of accounts and storage slots an EVM diff --git a/eth/tracers/logger/gen_structlog.go b/eth/tracers/logger/gen_structlog.go index b406cb344..3cbe6f19b 100644 --- a/eth/tracers/logger/gen_structlog.go +++ b/eth/tracers/logger/gen_structlog.go @@ -5,10 +5,10 @@ package logger import ( "encoding/json" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/vm" "github.com/holiman/uint256" ) diff --git a/eth/tracers/logger/logger.go b/eth/tracers/logger/logger.go index 2b36f9f49..07ab33a14 100644 --- a/eth/tracers/logger/logger.go +++ b/eth/tracers/logger/logger.go @@ -25,12 +25,12 @@ import ( "strings" "sync/atomic" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/eth/tracers/logger/logger_json.go b/eth/tracers/logger/logger_json.go index a2cb4cd9f..0a3641fc9 100644 --- a/eth/tracers/logger/logger_json.go +++ b/eth/tracers/logger/logger_json.go @@ -21,9 +21,9 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/vm" ) type JSONLogger struct { diff --git a/eth/tracers/logger/logger_test.go b/eth/tracers/logger/logger_test.go index 1d8eb320f..f7f4d7ecd 100644 --- a/eth/tracers/logger/logger_test.go +++ b/eth/tracers/logger/logger_test.go @@ -22,10 +22,10 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/eth/tracers/native/4byte.go b/eth/tracers/native/4byte.go index 5a2c4f911..3e0e2c040 100644 --- a/eth/tracers/native/4byte.go +++ b/eth/tracers/native/4byte.go @@ -22,9 +22,9 @@ import ( "strconv" "sync/atomic" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" ) func init() { diff --git a/eth/tracers/native/call.go b/eth/tracers/native/call.go index f85cf6206..86289a200 100644 --- a/eth/tracers/native/call.go +++ b/eth/tracers/native/call.go @@ -22,12 +22,12 @@ import ( "math/big" "sync/atomic" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/log" ) //go:generate go run github.com/fjl/gencodec -type callFrame -field-override callFrameMarshaling -out gen_callframe_json.go diff --git a/eth/tracers/native/call_flat.go b/eth/tracers/native/call_flat.go index 266ab9900..992263926 100644 --- a/eth/tracers/native/call_flat.go +++ b/eth/tracers/native/call_flat.go @@ -23,10 +23,10 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" ) //go:generate go run github.com/fjl/gencodec -type flatCallAction -field-override flatCallActionMarshaling -out gen_flatcallaction_json.go diff --git a/eth/tracers/native/gen_account_json.go b/eth/tracers/native/gen_account_json.go index 4c39cbc38..5a9d30581 100644 --- a/eth/tracers/native/gen_account_json.go +++ b/eth/tracers/native/gen_account_json.go @@ -6,8 +6,8 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*accountMarshaling)(nil) diff --git a/eth/tracers/native/gen_callframe_json.go b/eth/tracers/native/gen_callframe_json.go index c44f38390..4531f3179 100644 --- a/eth/tracers/native/gen_callframe_json.go +++ b/eth/tracers/native/gen_callframe_json.go @@ -6,9 +6,9 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/vm" ) var _ = (*callFrameMarshaling)(nil) diff --git a/eth/tracers/native/gen_flatcallaction_json.go b/eth/tracers/native/gen_flatcallaction_json.go index c07560698..3d662eae9 100644 --- a/eth/tracers/native/gen_flatcallaction_json.go +++ b/eth/tracers/native/gen_flatcallaction_json.go @@ -6,8 +6,8 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*flatCallActionMarshaling)(nil) diff --git a/eth/tracers/native/gen_flatcallresult_json.go b/eth/tracers/native/gen_flatcallresult_json.go index e9fa5e44d..5083a5865 100644 --- a/eth/tracers/native/gen_flatcallresult_json.go +++ b/eth/tracers/native/gen_flatcallresult_json.go @@ -5,8 +5,8 @@ package native import ( "encoding/json" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var _ = (*flatCallResultMarshaling)(nil) diff --git a/eth/tracers/native/mux.go b/eth/tracers/native/mux.go index db8ddd643..29ceb50f3 100644 --- a/eth/tracers/native/mux.go +++ b/eth/tracers/native/mux.go @@ -20,9 +20,9 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" ) func init() { diff --git a/eth/tracers/native/noop.go b/eth/tracers/native/noop.go index 3beecd8ab..2432f0285 100644 --- a/eth/tracers/native/noop.go +++ b/eth/tracers/native/noop.go @@ -20,9 +20,9 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers" ) func init() { diff --git a/eth/tracers/native/prestate.go b/eth/tracers/native/prestate.go index d7e10173c..039c46a22 100644 --- a/eth/tracers/native/prestate.go +++ b/eth/tracers/native/prestate.go @@ -22,12 +22,12 @@ import ( "math/big" "sync/atomic" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/tracers" + "github.com/KP-Universe/go-kpu/log" ) //go:generate go run github.com/fjl/gencodec -type account -field-override accountMarshaling -out gen_account_json.go diff --git a/eth/tracers/tracers.go b/eth/tracers/tracers.go index 7b43b7cf8..4bda79a05 100644 --- a/eth/tracers/tracers.go +++ b/eth/tracers/tracers.go @@ -23,8 +23,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/vm" ) // Context contains some contextual infos for a transaction execution that is not diff --git a/eth/tracers/tracers_test.go b/eth/tracers/tracers_test.go index 54d34ec5d..3ddaa9f47 100644 --- a/eth/tracers/tracers_test.go +++ b/eth/tracers/tracers_test.go @@ -20,15 +20,15 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/tests" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/tests" ) func BenchmarkTransactionTrace(b *testing.B) { diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 4c63b776e..f5d222e82 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -24,11 +24,11 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rpc" ) // Client defines typed wrappers for the Ethereum RPC API. diff --git a/ethclient/ethclient_test.go b/ethclient/ethclient_test.go index fd053c1d7..a6e61997b 100644 --- a/ethclient/ethclient_test.go +++ b/ethclient/ethclient_test.go @@ -25,17 +25,17 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) // Verify that Client implements the ethereum interfaces. diff --git a/ethclient/gethclient/gethclient.go b/ethclient/gethclient/gethclient.go index 73d05d499..09fd5a7ad 100644 --- a/ethclient/gethclient/gethclient.go +++ b/ethclient/gethclient/gethclient.go @@ -25,12 +25,12 @@ import ( "runtime" "runtime/debug" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/rpc" ) // Client is a wrapper around rpc.Client that implements geth-specific functionality. diff --git a/ethclient/gethclient/gethclient_test.go b/ethclient/gethclient/gethclient_test.go index dbe2310a6..ae2f4d365 100644 --- a/ethclient/gethclient/gethclient_test.go +++ b/ethclient/gethclient/gethclient_test.go @@ -23,19 +23,19 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/eth/filters" + "github.com/KP-Universe/go-kpu/ethclient" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) var ( diff --git a/ethclient/signer.go b/ethclient/signer.go index f827d4eb5..0107f888c 100644 --- a/ethclient/signer.go +++ b/ethclient/signer.go @@ -20,8 +20,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) // senderFromServer is a types.Signer that remembers the sender address returned by the RPC diff --git a/ethclient/simulated/backend.go b/ethclient/simulated/backend.go index 6169dde61..a59eb320e 100644 --- a/ethclient/simulated/backend.go +++ b/ethclient/simulated/backend.go @@ -19,19 +19,19 @@ package simulated import ( "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/catalyst" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/catalyst" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/eth/filters" + "github.com/KP-Universe/go-kpu/ethclient" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) // Client exposes the methods provided by the Ethereum RPC client. diff --git a/ethclient/simulated/backend_test.go b/ethclient/simulated/backend_test.go index a9a8accfe..7f99d2e8c 100644 --- a/ethclient/simulated/backend_test.go +++ b/ethclient/simulated/backend_test.go @@ -24,12 +24,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/accounts/abi/bind" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/params" ) var _ bind.ContractBackend = (Client)(nil) diff --git a/ethclient/simulated/options.go b/ethclient/simulated/options.go index 1b2f4c090..0a657118a 100644 --- a/ethclient/simulated/options.go +++ b/ethclient/simulated/options.go @@ -17,8 +17,8 @@ package simulated import ( - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/node" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/node" ) // WithBlockGasLimit configures the simulated backend to target a specific gas limit diff --git a/ethclient/simulated/options_test.go b/ethclient/simulated/options_test.go index d9ff3b428..4c1fa210c 100644 --- a/ethclient/simulated/options_test.go +++ b/ethclient/simulated/options_test.go @@ -22,9 +22,9 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/params" ) // Tests that the simulator starts with the initial gas limit in the genesis block, diff --git a/ethdb/dbtest/testsuite.go b/ethdb/dbtest/testsuite.go index 29bd24364..ece60d100 100644 --- a/ethdb/dbtest/testsuite.go +++ b/ethdb/dbtest/testsuite.go @@ -23,7 +23,7 @@ import ( "sort" "testing" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/ethdb" "golang.org/x/exp/slices" ) diff --git a/ethdb/leveldb/leveldb.go b/ethdb/leveldb/leveldb.go index e58efbddb..8bd02dea0 100644 --- a/ethdb/leveldb/leveldb.go +++ b/ethdb/leveldb/leveldb.go @@ -26,10 +26,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/filter" diff --git a/ethdb/leveldb/leveldb_test.go b/ethdb/leveldb/leveldb_test.go index d8c638601..b5ab324df 100644 --- a/ethdb/leveldb/leveldb_test.go +++ b/ethdb/leveldb/leveldb_test.go @@ -19,8 +19,8 @@ package leveldb import ( "testing" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/dbtest" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/ethdb/dbtest" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/storage" ) diff --git a/ethdb/memorydb/memorydb.go b/ethdb/memorydb/memorydb.go index 2a939f9a1..b54052612 100644 --- a/ethdb/memorydb/memorydb.go +++ b/ethdb/memorydb/memorydb.go @@ -23,8 +23,8 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" ) var ( diff --git a/ethdb/memorydb/memorydb_test.go b/ethdb/memorydb/memorydb_test.go index 51499c3b1..8ee1c15fb 100644 --- a/ethdb/memorydb/memorydb_test.go +++ b/ethdb/memorydb/memorydb_test.go @@ -20,8 +20,8 @@ import ( "encoding/binary" "testing" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/dbtest" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/ethdb/dbtest" ) func TestMemoryDB(t *testing.T) { diff --git a/ethdb/pebble/pebble.go b/ethdb/pebble/pebble.go index af4686cf5..3f42b9f86 100644 --- a/ethdb/pebble/pebble.go +++ b/ethdb/pebble/pebble.go @@ -27,10 +27,10 @@ import ( "github.com/cockroachdb/pebble" "github.com/cockroachdb/pebble/bloom" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" ) const ( diff --git a/ethdb/pebble/pebble_test.go b/ethdb/pebble/pebble_test.go index 1d5611f21..b33388fb7 100644 --- a/ethdb/pebble/pebble_test.go +++ b/ethdb/pebble/pebble_test.go @@ -21,8 +21,8 @@ import ( "github.com/cockroachdb/pebble" "github.com/cockroachdb/pebble/vfs" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/dbtest" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/ethdb/dbtest" ) func TestPebbleDB(t *testing.T) { diff --git a/ethdb/remotedb/remotedb.go b/ethdb/remotedb/remotedb.go index c1c803caf..9e4fba743 100644 --- a/ethdb/remotedb/remotedb.go +++ b/ethdb/remotedb/remotedb.go @@ -22,9 +22,9 @@ package remotedb import ( - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/rpc" ) // Database is a key-value lookup for a remote database via debug_dbGet. diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 29559991b..d78ef6e45 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -30,19 +30,19 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - ethproto "github.com/ethereum/go-ethereum/eth/protocols/eth" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + ethproto "github.com/KP-Universe/go-kpu/eth/protocols/eth" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/rpc" "github.com/gorilla/websocket" ) diff --git a/event/example_feed_test.go b/event/example_feed_test.go index 9b5ad50df..5185e69a1 100644 --- a/event/example_feed_test.go +++ b/event/example_feed_test.go @@ -19,7 +19,7 @@ package event_test import ( "fmt" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu/event" ) func ExampleFeed_acknowledgedEvents() { diff --git a/event/example_scope_test.go b/event/example_scope_test.go index 825a8deea..81303be4e 100644 --- a/event/example_scope_test.go +++ b/event/example_scope_test.go @@ -20,7 +20,7 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu/event" ) // This example demonstrates how SubscriptionScope can be used to control the lifetime of diff --git a/event/example_subscription_test.go b/event/example_subscription_test.go index 5c76b55d9..b42ad1a63 100644 --- a/event/example_subscription_test.go +++ b/event/example_subscription_test.go @@ -19,7 +19,7 @@ package event_test import ( "fmt" - "github.com/ethereum/go-ethereum/event" + "github.com/KP-Universe/go-kpu/event" ) func ExampleNewSubscription() { diff --git a/event/subscription.go b/event/subscription.go index 07e059c6d..c81dc8957 100644 --- a/event/subscription.go +++ b/event/subscription.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/KP-Universe/go-kpu/common/mclock" ) // Subscription represents a stream of events. The carrier of the events is typically a diff --git a/graphql/graphiql.go b/graphql/graphiql.go index 823df0c64..488e550ec 100644 --- a/graphql/graphiql.go +++ b/graphql/graphiql.go @@ -27,8 +27,8 @@ import ( "net/http" "path/filepath" - "github.com/ethereum/go-ethereum/graphql/internal/graphiql" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/graphql/internal/graphiql" + "github.com/KP-Universe/go-kpu/log" ) // GraphiQL is an in-browser IDE for exploring GraphiQL APIs. diff --git a/graphql/graphql.go b/graphql/graphql.go index bac86476b..238c76887 100644 --- a/graphql/graphql.go +++ b/graphql/graphql.go @@ -27,17 +27,17 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/filters" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/rpc" ) var ( diff --git a/graphql/graphql_test.go b/graphql/graphql_test.go index f91229d01..41be95038 100644 --- a/graphql/graphql_test.go +++ b/graphql/graphql_test.go @@ -27,19 +27,19 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/eth/filters" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/params" "github.com/stretchr/testify/assert" ) diff --git a/graphql/service.go b/graphql/service.go index 584165bdb..36445eac9 100644 --- a/graphql/service.go +++ b/graphql/service.go @@ -24,10 +24,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/eth/filters" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/rpc" "github.com/graph-gophers/graphql-go" gqlErrors "github.com/graph-gophers/graphql-go/errors" ) diff --git a/interfaces.go b/interfaces.go index c6aee295e..dee338f73 100644 --- a/interfaces.go +++ b/interfaces.go @@ -22,8 +22,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) // NotFound is returned by API methods if the requested item does not exist. diff --git a/internal/blocktest/test_hash.go b/internal/blocktest/test_hash.go index 4d2b077e8..9a581280c 100644 --- a/internal/blocktest/test_hash.go +++ b/internal/blocktest/test_hash.go @@ -25,7 +25,7 @@ package blocktest import ( "hash" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" "golang.org/x/crypto/sha3" ) diff --git a/internal/cmdtest/test_cmd.go b/internal/cmdtest/test_cmd.go index 4890d0b7c..ca53f82df 100644 --- a/internal/cmdtest/test_cmd.go +++ b/internal/cmdtest/test_cmd.go @@ -32,7 +32,7 @@ import ( "text/template" "time" - "github.com/ethereum/go-ethereum/internal/reexec" + "github.com/KP-Universe/go-kpu/internal/reexec" ) func NewTestCmd(t *testing.T, data interface{}) *TestCmd { diff --git a/internal/debug/api.go b/internal/debug/api.go index 482989e0d..ceaad8a48 100644 --- a/internal/debug/api.go +++ b/internal/debug/api.go @@ -35,7 +35,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" "github.com/hashicorp/go-bexpr" "golang.org/x/exp/slog" ) diff --git a/internal/debug/flags.go b/internal/debug/flags.go index dac878a7b..fc83d0c70 100644 --- a/internal/debug/flags.go +++ b/internal/debug/flags.go @@ -26,10 +26,10 @@ import ( "path/filepath" "runtime" - "github.com/ethereum/go-ethereum/internal/flags" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/exp" + "github.com/KP-Universe/go-kpu/internal/flags" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/metrics/exp" "github.com/fjl/memsize/memsizeui" "github.com/mattn/go-colorable" "github.com/mattn/go-isatty" diff --git a/internal/debug/trace.go b/internal/debug/trace.go index e291030b8..b49d2ad98 100644 --- a/internal/debug/trace.go +++ b/internal/debug/trace.go @@ -21,7 +21,7 @@ import ( "os" "runtime/trace" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) // StartGoTrace turns on tracing, writing to the given file. diff --git a/internal/ethapi/addrlock.go b/internal/ethapi/addrlock.go index 61ddff688..18dc3f386 100644 --- a/internal/ethapi/addrlock.go +++ b/internal/ethapi/addrlock.go @@ -19,7 +19,7 @@ package ethapi import ( "sync" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) type AddrLocker struct { diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 3bc9bc51f..bc0e1db7c 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -26,27 +26,27 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/accounts/scwallet" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/gasestimator" - "github.com/ethereum/go-ethereum/eth/tracers/logger" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/accounts/scwallet" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/gasestimator" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/trie" "github.com/holiman/uint256" "github.com/tyler-smith/go-bip39" ) diff --git a/internal/ethapi/api_test.go b/internal/ethapi/api_test.go index 623aa1fe4..74fb2315e 100644 --- a/internal/ethapi/api_test.go +++ b/internal/ethapi/api_test.go @@ -30,26 +30,26 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/internal/blocktest" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/internal/blocktest" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" "github.com/holiman/uint256" "github.com/stretchr/testify/require" "golang.org/x/exp/slices" diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index 5f408ba20..4cc1be205 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -22,19 +22,19 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) // Backend interface provides the common API services (that are provided by diff --git a/internal/ethapi/dbapi.go b/internal/ethapi/dbapi.go index 33fda936d..3031cabe2 100644 --- a/internal/ethapi/dbapi.go +++ b/internal/ethapi/dbapi.go @@ -17,8 +17,8 @@ package ethapi import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // DbGet returns the raw value of a key stored in the database. diff --git a/internal/ethapi/errors.go b/internal/ethapi/errors.go index b5e668a80..05a835786 100644 --- a/internal/ethapi/errors.go +++ b/internal/ethapi/errors.go @@ -19,9 +19,9 @@ package ethapi import ( "fmt" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/vm" ) // revertError is an API error that encompasses an EVM revert with JSON error diff --git a/internal/ethapi/transaction_args.go b/internal/ethapi/transaction_args.go index 75dbe38a5..ff3aaacf9 100644 --- a/internal/ethapi/transaction_args.go +++ b/internal/ethapi/transaction_args.go @@ -23,14 +23,14 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" "github.com/holiman/uint256" ) diff --git a/internal/ethapi/transaction_args_test.go b/internal/ethapi/transaction_args_test.go index f0fdb6d8e..d482d3c0d 100644 --- a/internal/ethapi/transaction_args_test.go +++ b/internal/ethapi/transaction_args_test.go @@ -24,20 +24,20 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/bloombits" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rpc" ) // TestSetFeeDefaults tests the logic for filling in default fee values works as expected. diff --git a/internal/flags/flags.go b/internal/flags/flags.go index 69e974355..56654b642 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -28,7 +28,7 @@ import ( "strings" "syscall" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common/math" "github.com/urfave/cli/v2" ) diff --git a/internal/flags/helpers.go b/internal/flags/helpers.go index 0112724fa..bb1f607e0 100644 --- a/internal/flags/helpers.go +++ b/internal/flags/helpers.go @@ -23,9 +23,9 @@ import ( "sort" "strings" - "github.com/ethereum/go-ethereum/internal/version" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/internal/version" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" "github.com/mattn/go-isatty" "github.com/urfave/cli/v2" ) diff --git a/internal/guide/guide_test.go b/internal/guide/guide_test.go index f682daac9..c6534256c 100644 --- a/internal/guide/guide_test.go +++ b/internal/guide/guide_test.go @@ -28,9 +28,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) // Tests that the account management snippets work correctly. diff --git a/internal/jsre/jsre.go b/internal/jsre/jsre.go index f6e21d2ef..8454b8250 100644 --- a/internal/jsre/jsre.go +++ b/internal/jsre/jsre.go @@ -28,7 +28,7 @@ import ( "time" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // JSRE is a JS runtime environment embedding the goja interpreter. diff --git a/internal/shutdowncheck/shutdown_tracker.go b/internal/shutdowncheck/shutdown_tracker.go index c95b4f02f..3b4fefa23 100644 --- a/internal/shutdowncheck/shutdown_tracker.go +++ b/internal/shutdowncheck/shutdown_tracker.go @@ -19,10 +19,10 @@ package shutdowncheck import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) // ShutdownTracker is a service that reports previous unclean shutdowns diff --git a/internal/testlog/testlog.go b/internal/testlog/testlog.go index 037b7ee9c..ef163d287 100644 --- a/internal/testlog/testlog.go +++ b/internal/testlog/testlog.go @@ -24,7 +24,7 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" "golang.org/x/exp/slog" ) diff --git a/internal/version/version.go b/internal/version/version.go index 0daea02b5..368a8c7ba 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -23,10 +23,10 @@ import ( "runtime/debug" "strings" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) -const ourPath = "github.com/ethereum/go-ethereum" // Path to our module +const ourPath = "github.com/KP-Universe/go-kpu" // Path to our module // These variables are set at build-time by the linker when the build is // done by build/ci.go. diff --git a/metrics/cpu_enabled.go b/metrics/cpu_enabled.go index 2359028a2..c33d41a63 100644 --- a/metrics/cpu_enabled.go +++ b/metrics/cpu_enabled.go @@ -20,7 +20,7 @@ package metrics import ( - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" "github.com/shirou/gopsutil/cpu" ) diff --git a/metrics/cputime_unix.go b/metrics/cputime_unix.go index ad4f812fd..688d77db6 100644 --- a/metrics/cputime_unix.go +++ b/metrics/cputime_unix.go @@ -22,7 +22,7 @@ package metrics import ( syscall "golang.org/x/sys/unix" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) // getProcessCPUTime retrieves the process' CPU time since program startup. diff --git a/metrics/exp/exp.go b/metrics/exp/exp.go index 7e3f82a07..dc51b117a 100644 --- a/metrics/exp/exp.go +++ b/metrics/exp/exp.go @@ -8,9 +8,9 @@ import ( "net/http" "sync" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/prometheus" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/metrics/prometheus" ) type exp struct { diff --git a/metrics/influxdb/influxdb.go b/metrics/influxdb/influxdb.go index bbc4fc024..d3f7f1e8c 100644 --- a/metrics/influxdb/influxdb.go +++ b/metrics/influxdb/influxdb.go @@ -3,7 +3,7 @@ package influxdb import ( "fmt" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) func readMeter(namespace, name string, i interface{}) (string, map[string]interface{}) { diff --git a/metrics/influxdb/influxdb_test.go b/metrics/influxdb/influxdb_test.go index c6f2eeac6..be755c36b 100644 --- a/metrics/influxdb/influxdb_test.go +++ b/metrics/influxdb/influxdb_test.go @@ -26,8 +26,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/internal" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/metrics/internal" influxdb2 "github.com/influxdata/influxdb-client-go/v2" ) diff --git a/metrics/influxdb/influxdbv1.go b/metrics/influxdb/influxdbv1.go index ac5828080..d086c7695 100644 --- a/metrics/influxdb/influxdbv1.go +++ b/metrics/influxdb/influxdbv1.go @@ -5,8 +5,8 @@ import ( uurl "net/url" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" client "github.com/influxdata/influxdb1-client/v2" ) diff --git a/metrics/influxdb/influxdbv2.go b/metrics/influxdb/influxdbv2.go index 0be5137d5..9dc644dc4 100644 --- a/metrics/influxdb/influxdbv2.go +++ b/metrics/influxdb/influxdbv2.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" influxdb2 "github.com/influxdata/influxdb-client-go/v2" "github.com/influxdata/influxdb-client-go/v2/api" ) diff --git a/metrics/internal/sampledata.go b/metrics/internal/sampledata.go index de9b207b6..e35decc0f 100644 --- a/metrics/internal/sampledata.go +++ b/metrics/internal/sampledata.go @@ -22,7 +22,7 @@ import ( metrics2 "runtime/metrics" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) // ExampleMetrics returns an ordered registry populated with a sample of metrics. diff --git a/metrics/internal/sampledata_test.go b/metrics/internal/sampledata_test.go index 001329940..e5f516074 100644 --- a/metrics/internal/sampledata_test.go +++ b/metrics/internal/sampledata_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) func TestCollectRuntimeMetrics(t *testing.T) { diff --git a/metrics/librato/librato.go b/metrics/librato/librato.go index a86f75863..d53672971 100644 --- a/metrics/librato/librato.go +++ b/metrics/librato/librato.go @@ -7,7 +7,7 @@ import ( "regexp" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) // a regexp for extracting the unit from time.Duration.String diff --git a/metrics/metrics.go b/metrics/metrics.go index 9ca8f115c..57bcd7ef7 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -14,7 +14,7 @@ import ( "syscall" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) // Enabled is checked by the constructor functions for all of the diff --git a/metrics/prometheus/collector.go b/metrics/prometheus/collector.go index 25b258d56..60a99f0be 100644 --- a/metrics/prometheus/collector.go +++ b/metrics/prometheus/collector.go @@ -23,7 +23,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) var ( diff --git a/metrics/prometheus/collector_test.go b/metrics/prometheus/collector_test.go index ea17aac45..6ae4d1c34 100644 --- a/metrics/prometheus/collector_test.go +++ b/metrics/prometheus/collector_test.go @@ -22,8 +22,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/internal" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/metrics/internal" ) func TestMain(m *testing.M) { diff --git a/metrics/prometheus/prometheus.go b/metrics/prometheus/prometheus.go index dbdeae6c7..866d7cc7f 100644 --- a/metrics/prometheus/prometheus.go +++ b/metrics/prometheus/prometheus.go @@ -22,8 +22,8 @@ import ( "net/http" "sort" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" ) // Handler returns an HTTP handler which dump metrics in Prometheus format. diff --git a/miner/miner.go b/miner/miner.go index b7273948f..ba8688888 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -23,17 +23,17 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" ) // Backend wraps all methods required for mining. Only full node is capable diff --git a/miner/miner_test.go b/miner/miner_test.go index 411d6026c..d22e80ad7 100644 --- a/miner/miner_test.go +++ b/miner/miner_test.go @@ -23,20 +23,20 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/txpool/legacypool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/clique" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/txpool/legacypool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" ) type mockBackend struct { diff --git a/miner/ordering.go b/miner/ordering.go index 4c3055f0d..74649a69e 100644 --- a/miner/ordering.go +++ b/miner/ordering.go @@ -20,10 +20,10 @@ import ( "container/heap" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" ) // txWithMinerFee wraps a transaction with its gas price or effective miner gasTipCap diff --git a/miner/ordering_test.go b/miner/ordering_test.go index e5868d7a0..5ef9b4e18 100644 --- a/miner/ordering_test.go +++ b/miner/ordering_test.go @@ -23,10 +23,10 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" ) func TestTransactionPriceNonceSortLegacy(t *testing.T) { diff --git a/miner/payload_building.go b/miner/payload_building.go index 719736c47..7991790ab 100644 --- a/miner/payload_building.go +++ b/miner/payload_building.go @@ -23,12 +23,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/beacon/engine" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/beacon/engine" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) // BuildPayloadArgs contains the provided parameters for building payload. diff --git a/miner/payload_building_test.go b/miner/payload_building_test.go index 708072b5e..2aa2b67b2 100644 --- a/miner/payload_building_test.go +++ b/miner/payload_building_test.go @@ -21,12 +21,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/beacon/engine" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/beacon/engine" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" ) func TestBuildPayload(t *testing.T) { diff --git a/miner/stress/clique/main.go b/miner/stress/clique/main.go index 13336cd83..701d1376f 100644 --- a/miner/stress/clique/main.go +++ b/miner/stress/clique/main.go @@ -26,22 +26,22 @@ import ( "os/signal" "time" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/fdlimit" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/txpool/legacypool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/ethconfig" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/fdlimit" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/txpool/legacypool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/eth" + "github.com/KP-Universe/go-kpu/eth/downloader" + "github.com/KP-Universe/go-kpu/eth/ethconfig" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/miner" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/params" ) func main() { diff --git a/miner/worker.go b/miner/worker.go index 2ed91cc18..007541804 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -24,19 +24,19 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc/eip1559" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/misc/eip1559" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie" ) const ( diff --git a/miner/worker_test.go b/miner/worker_test.go index 675b8d55b..eb803aee7 100644 --- a/miner/worker_test.go +++ b/miner/worker_test.go @@ -22,21 +22,21 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/txpool" - "github.com/ethereum/go-ethereum/core/txpool/legacypool" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/consensus" + "github.com/KP-Universe/go-kpu/consensus/clique" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/txpool" + "github.com/KP-Universe/go-kpu/core/txpool/legacypool" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/params" "github.com/holiman/uint256" ) diff --git a/node/api.go b/node/api.go index f81f394be..ab5391189 100644 --- a/node/api.go +++ b/node/api.go @@ -21,13 +21,13 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/debug" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/rpc" ) // apis returns the collection of built-in RPC APIs. diff --git a/node/api_test.go b/node/api_test.go index 8761c4883..6478e7b1a 100644 --- a/node/api_test.go +++ b/node/api_test.go @@ -25,7 +25,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/rpc" "github.com/stretchr/testify/assert" ) diff --git a/node/config.go b/node/config.go index 949db887e..bb8415a38 100644 --- a/node/config.go +++ b/node/config.go @@ -25,11 +25,11 @@ import ( "runtime" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/rpc" ) const ( diff --git a/node/config_test.go b/node/config_test.go index e8af8ddcd..31ba806e4 100644 --- a/node/config_test.go +++ b/node/config_test.go @@ -23,8 +23,8 @@ import ( "runtime" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p" ) // Tests that datadirs can be successfully created, be them manually configured diff --git a/node/defaults.go b/node/defaults.go index 42d9d4cde..f006b8460 100644 --- a/node/defaults.go +++ b/node/defaults.go @@ -22,9 +22,9 @@ import ( "path/filepath" "runtime" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/nat" + "github.com/KP-Universe/go-kpu/rpc" ) const ( diff --git a/node/endpoints.go b/node/endpoints.go index 14c12fd1f..47ac1acb8 100644 --- a/node/endpoints.go +++ b/node/endpoints.go @@ -21,8 +21,8 @@ import ( "net/http" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" ) // StartHTTPEndpoint starts the HTTP RPC endpoint. diff --git a/node/jwt_auth.go b/node/jwt_auth.go index d4f8193ca..f007c18bd 100644 --- a/node/jwt_auth.go +++ b/node/jwt_auth.go @@ -21,7 +21,7 @@ import ( "net/http" "time" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/rpc" "github.com/golang-jwt/jwt/v4" ) diff --git a/node/node.go b/node/node.go index 41c9971fe..fd7c0e221 100644 --- a/node/node.go +++ b/node/node.go @@ -28,15 +28,15 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/rpc" "github.com/gofrs/flock" ) diff --git a/node/node_auth_test.go b/node/node_auth_test.go index 597cd8531..0b9aad393 100644 --- a/node/node_auth_test.go +++ b/node/node_auth_test.go @@ -26,8 +26,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/rpc" "github.com/golang-jwt/jwt/v4" ) diff --git a/node/node_example_test.go b/node/node_example_test.go index e45ee49a2..1af682fbe 100644 --- a/node/node_example_test.go +++ b/node/node_example_test.go @@ -20,7 +20,7 @@ import ( "fmt" "log" - "github.com/ethereum/go-ethereum/node" + "github.com/KP-Universe/go-kpu/node" ) // SampleLifecycle is a trivial network service that can be attached to a node for diff --git a/node/node_test.go b/node/node_test.go index 04810a815..08909f8a3 100644 --- a/node/node_test.go +++ b/node/node_test.go @@ -26,10 +26,10 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/rpc" "github.com/stretchr/testify/assert" ) diff --git a/node/rpcstack.go b/node/rpcstack.go index b33c23805..e49da2455 100644 --- a/node/rpcstack.go +++ b/node/rpcstack.go @@ -30,8 +30,8 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" "github.com/rs/cors" ) diff --git a/node/rpcstack_test.go b/node/rpcstack_test.go index e41cc51ad..bf55ad413 100644 --- a/node/rpcstack_test.go +++ b/node/rpcstack_test.go @@ -28,9 +28,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/internal/testlog" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/internal/testlog" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" "github.com/golang-jwt/jwt/v4" "github.com/gorilla/websocket" "github.com/stretchr/testify/assert" diff --git a/node/utils_test.go b/node/utils_test.go index 681f3a8b2..9c886fbfc 100644 --- a/node/utils_test.go +++ b/node/utils_test.go @@ -20,8 +20,8 @@ package node import ( - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/rpc" ) // NoopLifecycle is a trivial implementation of the Service interface. diff --git a/oss-fuzz.sh b/oss-fuzz.sh index 8978de70d..9f824849d 100644 --- a/oss-fuzz.sh +++ b/oss-fuzz.sh @@ -16,7 +16,7 @@ ################################################################################ # This sets the -coverpgk for the coverage report when the corpus is executed through go test -coverpkg="github.com/ethereum/go-ethereum/..." +coverpkg="github.com/KP-Universe/go-kpu/..." function coverbuild { path=$1 diff --git a/p2p/dial.go b/p2p/dial.go index 5e4ab1d50..f5a0740a8 100644 --- a/p2p/dial.go +++ b/p2p/dial.go @@ -27,10 +27,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) const ( diff --git a/p2p/dial_test.go b/p2p/dial_test.go index 13908f11e..6bff68284 100644 --- a/p2p/dial_test.go +++ b/p2p/dial_test.go @@ -27,11 +27,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/internal/testlog" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/internal/testlog" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) // This test checks that dynamic dials are launched from discovery results. diff --git a/p2p/discover/common.go b/p2p/discover/common.go index c9f0477de..5474d255c 100644 --- a/p2p/discover/common.go +++ b/p2p/discover/common.go @@ -21,11 +21,11 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) // UDPConn is a network connection on which discovery can operate. diff --git a/p2p/discover/lookup.go b/p2p/discover/lookup.go index b8d97b44e..9e7cbc530 100644 --- a/p2p/discover/lookup.go +++ b/p2p/discover/lookup.go @@ -21,7 +21,7 @@ import ( "errors" "time" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // lookup performs a network search for nodes close to the given target. It approaches the diff --git a/p2p/discover/metrics.go b/p2p/discover/metrics.go index da8e9cb81..178fdcc64 100644 --- a/p2p/discover/metrics.go +++ b/p2p/discover/metrics.go @@ -20,7 +20,7 @@ import ( "fmt" "net" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) const ( diff --git a/p2p/discover/node.go b/p2p/discover/node.go index 9ffe101cc..d4799ee04 100644 --- a/p2p/discover/node.go +++ b/p2p/discover/node.go @@ -24,9 +24,9 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // node represents a host on the network. diff --git a/p2p/discover/ntp.go b/p2p/discover/ntp.go index 3f9157808..e8648486a 100644 --- a/p2p/discover/ntp.go +++ b/p2p/discover/ntp.go @@ -24,7 +24,7 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" "golang.org/x/exp/slices" ) diff --git a/p2p/discover/table.go b/p2p/discover/table.go index 2b7a28708..56db64178 100644 --- a/p2p/discover/table.go +++ b/p2p/discover/table.go @@ -33,11 +33,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) const ( diff --git a/p2p/discover/table_test.go b/p2p/discover/table_test.go index 3ba342225..8a6963eef 100644 --- a/p2p/discover/table_test.go +++ b/p2p/discover/table_test.go @@ -27,10 +27,10 @@ import ( "testing/quick" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) func TestTable_pingReplace(t *testing.T) { diff --git a/p2p/discover/table_util_test.go b/p2p/discover/table_util_test.go index d6309dfd6..43550f7a9 100644 --- a/p2p/discover/table_util_test.go +++ b/p2p/discover/table_util_test.go @@ -26,9 +26,9 @@ import ( "net" "sync" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" "golang.org/x/exp/slices" ) diff --git a/p2p/discover/v4_lookup_test.go b/p2p/discover/v4_lookup_test.go index 8867a5a8a..90961734b 100644 --- a/p2p/discover/v4_lookup_test.go +++ b/p2p/discover/v4_lookup_test.go @@ -22,10 +22,10 @@ import ( "net" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/discover/v4wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/discover/v4wire" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" "golang.org/x/exp/slices" ) diff --git a/p2p/discover/v4_udp.go b/p2p/discover/v4_udp.go index 988f16b01..1e15a4976 100644 --- a/p2p/discover/v4_udp.go +++ b/p2p/discover/v4_udp.go @@ -29,11 +29,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover/v4wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/discover/v4wire" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) // Errors diff --git a/p2p/discover/v4_udp_test.go b/p2p/discover/v4_udp_test.go index 361e37962..27bc39443 100644 --- a/p2p/discover/v4_udp_test.go +++ b/p2p/discover/v4_udp_test.go @@ -31,11 +31,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/internal/testlog" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover/v4wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/internal/testlog" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/discover/v4wire" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" ) // shared test variables diff --git a/p2p/discover/v4wire/v4wire.go b/p2p/discover/v4wire/v4wire.go index 9c59359fb..587a39df0 100644 --- a/p2p/discover/v4wire/v4wire.go +++ b/p2p/discover/v4wire/v4wire.go @@ -27,11 +27,11 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" ) // RPC packet types diff --git a/p2p/discover/v4wire/v4wire_test.go b/p2p/discover/v4wire/v4wire_test.go index 38820f3b4..c9404758c 100644 --- a/p2p/discover/v4wire/v4wire_test.go +++ b/p2p/discover/v4wire/v4wire_test.go @@ -23,8 +23,8 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" ) // EIP-8 test vectors. diff --git a/p2p/discover/v5_talk.go b/p2p/discover/v5_talk.go index c1f678794..92cf5be59 100644 --- a/p2p/discover/v5_talk.go +++ b/p2p/discover/v5_talk.go @@ -21,9 +21,9 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover/v5wire" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/discover/v5wire" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // This is a limit for the number of concurrent talk requests. diff --git a/p2p/discover/v5_udp.go b/p2p/discover/v5_udp.go index 8b3e33d37..658f2793b 100644 --- a/p2p/discover/v5_udp.go +++ b/p2p/discover/v5_udp.go @@ -28,12 +28,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover/v5wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/discover/v5wire" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) const ( diff --git a/p2p/discover/v5_udp_test.go b/p2p/discover/v5_udp_test.go index eaa969ea8..4f335c470 100644 --- a/p2p/discover/v5_udp_test.go +++ b/p2p/discover/v5_udp_test.go @@ -27,12 +27,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/internal/testlog" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover/v5wire" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/internal/testlog" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/discover/v5wire" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" "github.com/stretchr/testify/require" "golang.org/x/exp/slices" ) diff --git a/p2p/discover/v5wire/crypto.go b/p2p/discover/v5wire/crypto.go index fc0a0edef..167be98d9 100644 --- a/p2p/discover/v5wire/crypto.go +++ b/p2p/discover/v5wire/crypto.go @@ -25,9 +25,9 @@ import ( "fmt" "hash" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" "golang.org/x/crypto/hkdf" ) diff --git a/p2p/discover/v5wire/crypto_test.go b/p2p/discover/v5wire/crypto_test.go index 72169b431..6ef17cb7b 100644 --- a/p2p/discover/v5wire/crypto_test.go +++ b/p2p/discover/v5wire/crypto_test.go @@ -25,9 +25,9 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" ) func TestVector_ECDH(t *testing.T) { diff --git a/p2p/discover/v5wire/encoding.go b/p2p/discover/v5wire/encoding.go index 510891062..48b1fd5d5 100644 --- a/p2p/discover/v5wire/encoding.go +++ b/p2p/discover/v5wire/encoding.go @@ -28,10 +28,10 @@ import ( "fmt" "hash" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" ) // TODO concurrent WHOAREYOU tie-breaker diff --git a/p2p/discover/v5wire/encoding_test.go b/p2p/discover/v5wire/encoding_test.go index a5387311a..484a534d8 100644 --- a/p2p/discover/v5wire/encoding_test.go +++ b/p2p/discover/v5wire/encoding_test.go @@ -30,10 +30,10 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // To regenerate discv5 test vectors, run diff --git a/p2p/discover/v5wire/msg.go b/p2p/discover/v5wire/msg.go index 401db2f6c..2cbfb2fa3 100644 --- a/p2p/discover/v5wire/msg.go +++ b/p2p/discover/v5wire/msg.go @@ -20,11 +20,11 @@ import ( "fmt" "net" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" ) // Packet is implemented by all message types. diff --git a/p2p/discover/v5wire/session.go b/p2p/discover/v5wire/session.go index 862c21fce..35197cbfa 100644 --- a/p2p/discover/v5wire/session.go +++ b/p2p/discover/v5wire/session.go @@ -22,10 +22,10 @@ import ( "encoding/binary" "time" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" ) const handshakeTimeout = time.Second diff --git a/p2p/dnsdisc/client.go b/p2p/dnsdisc/client.go index 8f1c221b8..8ca24a6fa 100644 --- a/p2p/dnsdisc/client.go +++ b/p2p/dnsdisc/client.go @@ -27,12 +27,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" "golang.org/x/sync/singleflight" "golang.org/x/time/rate" ) diff --git a/p2p/dnsdisc/client_test.go b/p2p/dnsdisc/client_test.go index abc35ddbd..9e29024b1 100644 --- a/p2p/dnsdisc/client_test.go +++ b/p2p/dnsdisc/client_test.go @@ -25,13 +25,13 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/testlog" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/testlog" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" ) var signingKeyForTesting, _ = crypto.ToECDSA(hexutil.MustDecode("0xdc599867fc513f8f5e2c2c9c489cde5e71362d1d9ec6e693e0de063236ed1240")) diff --git a/p2p/dnsdisc/sync.go b/p2p/dnsdisc/sync.go index 073547c90..c93ea508e 100644 --- a/p2p/dnsdisc/sync.go +++ b/p2p/dnsdisc/sync.go @@ -21,8 +21,8 @@ import ( "math/rand" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // This is the number of consecutive leaf requests that may fail before diff --git a/p2p/dnsdisc/tree.go b/p2p/dnsdisc/tree.go index 7d9703a34..88e01dae5 100644 --- a/p2p/dnsdisc/tree.go +++ b/p2p/dnsdisc/tree.go @@ -25,10 +25,10 @@ import ( "io" "strings" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/crypto/sha3" "golang.org/x/exp/slices" ) diff --git a/p2p/dnsdisc/tree_test.go b/p2p/dnsdisc/tree_test.go index 9ed17aa4b..844d06dc9 100644 --- a/p2p/dnsdisc/tree_test.go +++ b/p2p/dnsdisc/tree_test.go @@ -21,8 +21,8 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/p2p/enode" ) func TestParseRoot(t *testing.T) { diff --git a/p2p/enode/idscheme.go b/p2p/enode/idscheme.go index fd5d868b7..b84e11f75 100644 --- a/p2p/enode/idscheme.go +++ b/p2p/enode/idscheme.go @@ -21,10 +21,10 @@ import ( "fmt" "io" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/crypto/sha3" ) diff --git a/p2p/enode/idscheme_test.go b/p2p/enode/idscheme_test.go index 0910e6e83..01baffde6 100644 --- a/p2p/enode/idscheme_test.go +++ b/p2p/enode/idscheme_test.go @@ -23,9 +23,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/p2p/enode/iter_test.go b/p2p/enode/iter_test.go index b736ed450..c2317bd8f 100644 --- a/p2p/enode/iter_test.go +++ b/p2p/enode/iter_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/enr" ) func TestReadNodes(t *testing.T) { diff --git a/p2p/enode/localnode.go b/p2p/enode/localnode.go index a18204e75..86e351cbb 100644 --- a/p2p/enode/localnode.go +++ b/p2p/enode/localnode.go @@ -26,9 +26,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) const ( diff --git a/p2p/enode/localnode_test.go b/p2p/enode/localnode_test.go index 7f97ad392..d3eac06a1 100644 --- a/p2p/enode/localnode_test.go +++ b/p2p/enode/localnode_test.go @@ -21,8 +21,8 @@ import ( "net" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enr" "github.com/stretchr/testify/assert" ) diff --git a/p2p/enode/node.go b/p2p/enode/node.go index d7a1a9a15..79fdc836d 100644 --- a/p2p/enode/node.go +++ b/p2p/enode/node.go @@ -26,8 +26,8 @@ import ( "net" "strings" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" ) var errMissingPrefix = errors.New("missing 'enr:' prefix for base64-encoded record") diff --git a/p2p/enode/node_test.go b/p2p/enode/node_test.go index d15859c47..59775bc7d 100644 --- a/p2p/enode/node_test.go +++ b/p2p/enode/node_test.go @@ -24,8 +24,8 @@ import ( "testing" "testing/quick" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" "github.com/stretchr/testify/assert" ) diff --git a/p2p/enode/nodedb.go b/p2p/enode/nodedb.go index 7e7fb69b2..ffaf19333 100644 --- a/p2p/enode/nodedb.go +++ b/p2p/enode/nodedb.go @@ -26,7 +26,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/iterator" diff --git a/p2p/enode/urlv4.go b/p2p/enode/urlv4.go index 0272eee98..f348de50c 100644 --- a/p2p/enode/urlv4.go +++ b/p2p/enode/urlv4.go @@ -26,9 +26,9 @@ import ( "regexp" "strconv" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enr" ) var ( diff --git a/p2p/enode/urlv4_test.go b/p2p/enode/urlv4_test.go index 33de96cc5..2d75129cf 100644 --- a/p2p/enode/urlv4_test.go +++ b/p2p/enode/urlv4_test.go @@ -24,8 +24,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/enr" ) func init() { diff --git a/p2p/enr/enr.go b/p2p/enr/enr.go index 2b093b2f1..ebcad18d0 100644 --- a/p2p/enr/enr.go +++ b/p2p/enr/enr.go @@ -40,7 +40,7 @@ import ( "io" "sort" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" ) const SizeLimit = 300 // maximum encoded size of a node record in bytes diff --git a/p2p/enr/enr_test.go b/p2p/enr/enr_test.go index b85ee209d..dc97f62eb 100644 --- a/p2p/enr/enr_test.go +++ b/p2p/enr/enr_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/p2p/enr/entries.go b/p2p/enr/entries.go index 9945a436c..909c47db6 100644 --- a/p2p/enr/entries.go +++ b/p2p/enr/entries.go @@ -22,7 +22,7 @@ import ( "io" "net" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" ) // Entry is implemented by known node record entry types. diff --git a/p2p/message.go b/p2p/message.go index 3ab56ee35..c12c8ed95 100644 --- a/p2p/message.go +++ b/p2p/message.go @@ -24,9 +24,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/rlp" ) // Msg defines the structure of a p2p message. diff --git a/p2p/metrics.go b/p2p/metrics.go index a6e36b91a..cda7ad757 100644 --- a/p2p/metrics.go +++ b/p2p/metrics.go @@ -22,7 +22,7 @@ import ( "errors" "net" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) const ( diff --git a/p2p/msgrate/msgrate.go b/p2p/msgrate/msgrate.go index de1a3177d..d1dea0c07 100644 --- a/p2p/msgrate/msgrate.go +++ b/p2p/msgrate/msgrate.go @@ -25,7 +25,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) // measurementImpact is the impact a single measurement has on a peer's final diff --git a/p2p/nat/nat.go b/p2p/nat/nat.go index 2aa1f8558..3aff9d5b6 100644 --- a/p2p/nat/nat.go +++ b/p2p/nat/nat.go @@ -25,7 +25,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" natpmp "github.com/jackpal/go-nat-pmp" ) diff --git a/p2p/netutil/iptrack.go b/p2p/netutil/iptrack.go index a070499e1..c3f054b7d 100644 --- a/p2p/netutil/iptrack.go +++ b/p2p/netutil/iptrack.go @@ -19,7 +19,7 @@ package netutil import ( "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/KP-Universe/go-kpu/common/mclock" ) // IPTracker predicts the external endpoint, i.e. IP address and port, of the local host diff --git a/p2p/netutil/iptrack_test.go b/p2p/netutil/iptrack_test.go index ee3bba861..f64a1fc22 100644 --- a/p2p/netutil/iptrack_test.go +++ b/p2p/netutil/iptrack_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/KP-Universe/go-kpu/common/mclock" ) const ( diff --git a/p2p/nodestate/nodestate.go b/p2p/nodestate/nodestate.go index 1e1757559..b86bbf3e8 100644 --- a/p2p/nodestate/nodestate.go +++ b/p2p/nodestate/nodestate.go @@ -23,13 +23,13 @@ import ( "time" "unsafe" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" ) var ( diff --git a/p2p/nodestate/nodestate_test.go b/p2p/nodestate/nodestate_test.go index d06ad755e..6d6fb7dd7 100644 --- a/p2p/nodestate/nodestate_test.go +++ b/p2p/nodestate/nodestate_test.go @@ -23,11 +23,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" ) func testSetup(flagPersist []bool, fieldType []reflect.Type) (*Setup, []Flags, []Field) { diff --git a/p2p/peer.go b/p2p/peer.go index 65a7903f5..50eef334c 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -24,13 +24,13 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/exp/slices" ) diff --git a/p2p/peer_test.go b/p2p/peer_test.go index 4308bbd2e..643440a90 100644 --- a/p2p/peer_test.go +++ b/p2p/peer_test.go @@ -28,9 +28,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" ) var discard = Protocol{ diff --git a/p2p/protocol.go b/p2p/protocol.go index 9bb6785a2..e7ae5ff00 100644 --- a/p2p/protocol.go +++ b/p2p/protocol.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" ) // Protocol represents a P2P subprotocol implementation. diff --git a/p2p/rlpx/buffer_test.go b/p2p/rlpx/buffer_test.go index 9fee4172b..ebcfa8606 100644 --- a/p2p/rlpx/buffer_test.go +++ b/p2p/rlpx/buffer_test.go @@ -20,7 +20,7 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" "github.com/stretchr/testify/assert" ) diff --git a/p2p/rlpx/rlpx.go b/p2p/rlpx/rlpx.go index 8bd6f64b9..3129ccc23 100644 --- a/p2p/rlpx/rlpx.go +++ b/p2p/rlpx/rlpx.go @@ -34,9 +34,9 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/crypto/ecies" + "github.com/KP-Universe/go-kpu/rlp" "github.com/golang/snappy" "golang.org/x/crypto/sha3" ) diff --git a/p2p/rlpx/rlpx_test.go b/p2p/rlpx/rlpx_test.go index 136cb1b5b..6d7eae882 100644 --- a/p2p/rlpx/rlpx_test.go +++ b/p2p/rlpx/rlpx_test.go @@ -29,10 +29,10 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/ethereum/go-ethereum/p2p/simulations/pipes" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/crypto/ecies" + "github.com/KP-Universe/go-kpu/p2p/simulations/pipes" + "github.com/KP-Universe/go-kpu/rlp" "github.com/stretchr/testify/assert" ) diff --git a/p2p/server.go b/p2p/server.go index 8f42765a8..fcc573755 100644 --- a/p2p/server.go +++ b/p2p/server.go @@ -28,16 +28,16 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/discover" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/nat" + "github.com/KP-Universe/go-kpu/p2p/netutil" "golang.org/x/exp/slices" ) diff --git a/p2p/server_nat.go b/p2p/server_nat.go index 354597cc7..36f494583 100644 --- a/p2p/server_nat.go +++ b/p2p/server_nat.go @@ -20,10 +20,10 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/p2p/nat" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/nat" ) const ( diff --git a/p2p/server_nat_test.go b/p2p/server_nat_test.go index de935fcfc..069808c55 100644 --- a/p2p/server_nat_test.go +++ b/p2p/server_nat_test.go @@ -22,9 +22,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/internal/testlog" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/internal/testlog" + "github.com/KP-Universe/go-kpu/log" ) func TestServerPortMapping(t *testing.T) { diff --git a/p2p/server_test.go b/p2p/server_test.go index a0491e984..be58f567f 100644 --- a/p2p/server_test.go +++ b/p2p/server_test.go @@ -29,12 +29,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/testlog" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/p2p/rlpx" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/testlog" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/p2p/rlpx" ) type testTransport struct { diff --git a/p2p/simulations/adapters/exec.go b/p2p/simulations/adapters/exec.go index 63cc4936c..b1c2349cf 100644 --- a/p2p/simulations/adapters/exec.go +++ b/p2p/simulations/adapters/exec.go @@ -34,12 +34,12 @@ import ( "syscall" "time" - "github.com/ethereum/go-ethereum/internal/reexec" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/internal/reexec" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/rpc" "github.com/gorilla/websocket" "golang.org/x/exp/slog" ) diff --git a/p2p/simulations/adapters/inproc.go b/p2p/simulations/adapters/inproc.go index c52917fd0..3a65d8915 100644 --- a/p2p/simulations/adapters/inproc.go +++ b/p2p/simulations/adapters/inproc.go @@ -24,13 +24,13 @@ import ( "net" "sync" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations/pipes" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations/pipes" + "github.com/KP-Universe/go-kpu/rpc" "github.com/gorilla/websocket" ) diff --git a/p2p/simulations/adapters/inproc_test.go b/p2p/simulations/adapters/inproc_test.go index 2a61508fe..99b23e524 100644 --- a/p2p/simulations/adapters/inproc_test.go +++ b/p2p/simulations/adapters/inproc_test.go @@ -23,7 +23,7 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/p2p/simulations/pipes" + "github.com/KP-Universe/go-kpu/p2p/simulations/pipes" ) func TestTCPPipe(t *testing.T) { diff --git a/p2p/simulations/adapters/types.go b/p2p/simulations/adapters/types.go index fb8463d22..47154952d 100644 --- a/p2p/simulations/adapters/types.go +++ b/p2p/simulations/adapters/types.go @@ -25,14 +25,14 @@ import ( "os" "strconv" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/reexec" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/internal/reexec" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rpc" "github.com/gorilla/websocket" "golang.org/x/exp/slog" ) diff --git a/p2p/simulations/connect.go b/p2p/simulations/connect.go index ede96b34c..4be96ea07 100644 --- a/p2p/simulations/connect.go +++ b/p2p/simulations/connect.go @@ -20,7 +20,7 @@ import ( "errors" "strings" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enode" ) var ( diff --git a/p2p/simulations/connect_test.go b/p2p/simulations/connect_test.go index 0154a18b0..224e0ba72 100644 --- a/p2p/simulations/connect_test.go +++ b/p2p/simulations/connect_test.go @@ -19,9 +19,9 @@ package simulations import ( "testing" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations/adapters" ) func newTestNetwork(t *testing.T, nodeCount int) (*Network, []enode.ID) { diff --git a/p2p/simulations/examples/ping-pong.go b/p2p/simulations/examples/ping-pong.go index 70b35ad77..cad18c716 100644 --- a/p2p/simulations/examples/ping-pong.go +++ b/p2p/simulations/examples/ping-pong.go @@ -25,12 +25,12 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations" + "github.com/KP-Universe/go-kpu/p2p/simulations/adapters" ) var adapterType = flag.String("adapter", "sim", `node adapter to use (one of "sim", "exec" or "docker")`) diff --git a/p2p/simulations/http.go b/p2p/simulations/http.go index 34521b477..9883e9bd3 100644 --- a/p2p/simulations/http.go +++ b/p2p/simulations/http.go @@ -30,11 +30,11 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations/adapters" + "github.com/KP-Universe/go-kpu/rpc" "github.com/gorilla/websocket" "github.com/julienschmidt/httprouter" ) diff --git a/p2p/simulations/http_test.go b/p2p/simulations/http_test.go index c53a49797..feaadedab 100644 --- a/p2p/simulations/http_test.go +++ b/p2p/simulations/http_test.go @@ -29,13 +29,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations/adapters" + "github.com/KP-Universe/go-kpu/rpc" "github.com/mattn/go-colorable" "golang.org/x/exp/slog" ) diff --git a/p2p/simulations/mocker.go b/p2p/simulations/mocker.go index 0dc04e65f..6cf3b82aa 100644 --- a/p2p/simulations/mocker.go +++ b/p2p/simulations/mocker.go @@ -24,9 +24,9 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations/adapters" ) // a map of mocker names to its function diff --git a/p2p/simulations/mocker_test.go b/p2p/simulations/mocker_test.go index 0112ee5cf..8c20df8a8 100644 --- a/p2p/simulations/mocker_test.go +++ b/p2p/simulations/mocker_test.go @@ -27,7 +27,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enode" ) func TestMocker(t *testing.T) { diff --git a/p2p/simulations/network.go b/p2p/simulations/network.go index 4735e5cfa..cc007fb0f 100644 --- a/p2p/simulations/network.go +++ b/p2p/simulations/network.go @@ -26,11 +26,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/KP-Universe/go-kpu/event" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations/adapters" ) var DialBanTimeout = 200 * time.Millisecond diff --git a/p2p/simulations/network_test.go b/p2p/simulations/network_test.go index 4ed1e4e6c..b1e5c6943 100644 --- a/p2p/simulations/network_test.go +++ b/p2p/simulations/network_test.go @@ -27,10 +27,10 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/node" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/simulations/adapters" ) // Tests that a created snapshot with a minimal service only contains the expected connections diff --git a/p2p/simulations/simulation.go b/p2p/simulations/simulation.go index ae62c42b9..b5b566e59 100644 --- a/p2p/simulations/simulation.go +++ b/p2p/simulations/simulation.go @@ -20,7 +20,7 @@ import ( "context" "time" - "github.com/ethereum/go-ethereum/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enode" ) // Simulation provides a framework for running actions in a simulated network diff --git a/p2p/simulations/test.go b/p2p/simulations/test.go index 0edb07b12..596d6d272 100644 --- a/p2p/simulations/test.go +++ b/p2p/simulations/test.go @@ -19,10 +19,10 @@ package simulations import ( "testing" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/p2p" + "github.com/KP-Universe/go-kpu/p2p/enode" + "github.com/KP-Universe/go-kpu/p2p/enr" + "github.com/KP-Universe/go-kpu/rpc" ) // NoopService is the service that does not do anything diff --git a/p2p/tracker/tracker.go b/p2p/tracker/tracker.go index 6a733b9ba..0dc1f40f0 100644 --- a/p2p/tracker/tracker.go +++ b/p2p/tracker/tracker.go @@ -22,8 +22,8 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" ) const ( diff --git a/p2p/transport.go b/p2p/transport.go index 4f6bb569b..3f8fabca1 100644 --- a/p2p/transport.go +++ b/p2p/transport.go @@ -25,11 +25,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p/rlpx" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/bitutil" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/p2p/rlpx" + "github.com/KP-Universe/go-kpu/rlp" ) const ( diff --git a/p2p/transport_test.go b/p2p/transport_test.go index 24e06c5a0..0bd21d55f 100644 --- a/p2p/transport_test.go +++ b/p2p/transport_test.go @@ -23,8 +23,8 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/simulations/pipes" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/p2p/simulations/pipes" ) func TestProtocolHandshake(t *testing.T) { diff --git a/p2p/util.go b/p2p/util.go index 2c8f322a6..14e1818bd 100644 --- a/p2p/util.go +++ b/p2p/util.go @@ -19,7 +19,7 @@ package p2p import ( "container/heap" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/KP-Universe/go-kpu/common/mclock" ) // expHeap tracks strings and their expiry time. diff --git a/p2p/util_test.go b/p2p/util_test.go index cc0d2b215..e44b7d783 100644 --- a/p2p/util_test.go +++ b/p2p/util_test.go @@ -20,7 +20,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/KP-Universe/go-kpu/common/mclock" ) func TestExpHeap(t *testing.T) { diff --git a/params/bootnodes.go b/params/bootnodes.go index d6433d666..6e168ea7d 100644 --- a/params/bootnodes.go +++ b/params/bootnodes.go @@ -16,7 +16,7 @@ package params -import "github.com/ethereum/go-ethereum/common" +import "github.com/KP-Universe/go-kpu/common" // MainnetBootnodes are the enode URLs of the P2P bootstrap nodes running on // 수정 시작 지점 diff --git a/params/config.go b/params/config.go index 2af822854..42e65d309 100644 --- a/params/config.go +++ b/params/config.go @@ -20,8 +20,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/params/forks" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/params/forks" ) // Genesis hashes to enforce below configs on. diff --git a/params/config_test.go b/params/config_test.go index bf8ce2fc5..e04991a8b 100644 --- a/params/config_test.go +++ b/params/config_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common/math" ) func TestCheckCompatible(t *testing.T) { diff --git a/params/dao.go b/params/dao.go index da3c8dfc9..88efb9f3a 100644 --- a/params/dao.go +++ b/params/dao.go @@ -19,7 +19,7 @@ package params import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // DAOForkBlockExtra is the block header extra-data field to set for the DAO fork diff --git a/params/protocol_params.go b/params/protocol_params.go index 7eb63e89a..c0a9d343a 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -19,7 +19,7 @@ package params import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) const ( diff --git a/rlp/decode.go b/rlp/decode.go index 9b17d2d81..46a84d4ff 100644 --- a/rlp/decode.go +++ b/rlp/decode.go @@ -28,7 +28,7 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/rlp/internal/rlpstruct" + "github.com/KP-Universe/go-kpu/rlp/internal/rlpstruct" "github.com/holiman/uint256" ) diff --git a/rlp/decode_test.go b/rlp/decode_test.go index 07d9c579a..abb99b5cf 100644 --- a/rlp/decode_test.go +++ b/rlp/decode_test.go @@ -27,7 +27,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common/math" "github.com/holiman/uint256" ) diff --git a/rlp/encbuffer_example_test.go b/rlp/encbuffer_example_test.go index ee15d82a7..f6aea8923 100644 --- a/rlp/encbuffer_example_test.go +++ b/rlp/encbuffer_example_test.go @@ -20,7 +20,7 @@ import ( "bytes" "fmt" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" ) func ExampleEncoderBuffer() { diff --git a/rlp/encode.go b/rlp/encode.go index ffb42b299..984362acd 100644 --- a/rlp/encode.go +++ b/rlp/encode.go @@ -23,7 +23,7 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/rlp/internal/rlpstruct" + "github.com/KP-Universe/go-kpu/rlp/internal/rlpstruct" "github.com/holiman/uint256" ) diff --git a/rlp/encode_test.go b/rlp/encode_test.go index 314958eb5..c41e25cd0 100644 --- a/rlp/encode_test.go +++ b/rlp/encode_test.go @@ -26,7 +26,7 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common/math" "github.com/holiman/uint256" ) diff --git a/rlp/encoder_example_test.go b/rlp/encoder_example_test.go index 4cd3cb867..19e5bbf59 100644 --- a/rlp/encoder_example_test.go +++ b/rlp/encoder_example_test.go @@ -20,7 +20,7 @@ import ( "fmt" "io" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" ) type MyCoolType struct { diff --git a/rlp/iterator_test.go b/rlp/iterator_test.go index a22aaec86..ab3d9d623 100644 --- a/rlp/iterator_test.go +++ b/rlp/iterator_test.go @@ -19,7 +19,7 @@ package rlp import ( "testing" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // TestIterator tests some basic things about the ListIterator. A more diff --git a/rlp/rlpgen/gen.go b/rlp/rlpgen/gen.go index 0c6586482..4dcc8e3fb 100644 --- a/rlp/rlpgen/gen.go +++ b/rlp/rlpgen/gen.go @@ -23,7 +23,7 @@ import ( "go/types" "sort" - "github.com/ethereum/go-ethereum/rlp/internal/rlpstruct" + "github.com/KP-Universe/go-kpu/rlp/internal/rlpstruct" ) // buildContext keeps the data needed for make*Op. diff --git a/rlp/rlpgen/main.go b/rlp/rlpgen/main.go index b3a74b9df..5d0f9f9f5 100644 --- a/rlp/rlpgen/main.go +++ b/rlp/rlpgen/main.go @@ -27,7 +27,7 @@ import ( "golang.org/x/tools/go/packages" ) -const pathOfPackageRLP = "github.com/ethereum/go-ethereum/rlp" +const pathOfPackageRLP = "github.com/KP-Universe/go-kpu/rlp" func main() { var ( diff --git a/rlp/rlpgen/testdata/bigint.out.txt b/rlp/rlpgen/testdata/bigint.out.txt index f54d1faa1..076587d8d 100644 --- a/rlp/rlpgen/testdata/bigint.out.txt +++ b/rlp/rlpgen/testdata/bigint.out.txt @@ -1,6 +1,6 @@ package test -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *Test) EncodeRLP(_w io.Writer) error { diff --git a/rlp/rlpgen/testdata/nil.out.txt b/rlp/rlpgen/testdata/nil.out.txt index e0d5dceba..64f39be69 100644 --- a/rlp/rlpgen/testdata/nil.out.txt +++ b/rlp/rlpgen/testdata/nil.out.txt @@ -1,6 +1,6 @@ package test -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *Test) EncodeRLP(_w io.Writer) error { diff --git a/rlp/rlpgen/testdata/optional.out.txt b/rlp/rlpgen/testdata/optional.out.txt index 02df8e457..d4bf4aba4 100644 --- a/rlp/rlpgen/testdata/optional.out.txt +++ b/rlp/rlpgen/testdata/optional.out.txt @@ -1,6 +1,6 @@ package test -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *Test) EncodeRLP(_w io.Writer) error { diff --git a/rlp/rlpgen/testdata/rawvalue.in.txt b/rlp/rlpgen/testdata/rawvalue.in.txt index 3a657bc90..7a3416840 100644 --- a/rlp/rlpgen/testdata/rawvalue.in.txt +++ b/rlp/rlpgen/testdata/rawvalue.in.txt @@ -2,7 +2,7 @@ package test -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" type Test struct { RawValue rlp.RawValue diff --git a/rlp/rlpgen/testdata/rawvalue.out.txt b/rlp/rlpgen/testdata/rawvalue.out.txt index 3607c9863..8b1d8fcb5 100644 --- a/rlp/rlpgen/testdata/rawvalue.out.txt +++ b/rlp/rlpgen/testdata/rawvalue.out.txt @@ -1,6 +1,6 @@ package test -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *Test) EncodeRLP(_w io.Writer) error { diff --git a/rlp/rlpgen/testdata/uint256.out.txt b/rlp/rlpgen/testdata/uint256.out.txt index 5e6d3ed99..d1ab56b99 100644 --- a/rlp/rlpgen/testdata/uint256.out.txt +++ b/rlp/rlpgen/testdata/uint256.out.txt @@ -1,6 +1,6 @@ package test -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "github.com/holiman/uint256" import "io" diff --git a/rlp/rlpgen/testdata/uints.out.txt b/rlp/rlpgen/testdata/uints.out.txt index 1a354956a..ef28328e2 100644 --- a/rlp/rlpgen/testdata/uints.out.txt +++ b/rlp/rlpgen/testdata/uints.out.txt @@ -1,6 +1,6 @@ package test -import "github.com/ethereum/go-ethereum/rlp" +import "github.com/KP-Universe/go-kpu/rlp" import "io" func (obj *Test) EncodeRLP(_w io.Writer) error { diff --git a/rlp/typecache.go b/rlp/typecache.go index 3e37c9d2f..50f2a4c91 100644 --- a/rlp/typecache.go +++ b/rlp/typecache.go @@ -22,7 +22,7 @@ import ( "sync" "sync/atomic" - "github.com/ethereum/go-ethereum/rlp/internal/rlpstruct" + "github.com/KP-Universe/go-kpu/rlp/internal/rlpstruct" ) // typeinfo is an entry in the type cache. diff --git a/rpc/client.go b/rpc/client.go index 2b0016db8..342f20b33 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -28,7 +28,7 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) var ( diff --git a/rpc/client_example_test.go b/rpc/client_example_test.go index 044b57a9c..8436afa4b 100644 --- a/rpc/client_example_test.go +++ b/rpc/client_example_test.go @@ -21,8 +21,8 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/rpc" ) // In this example, our client wishes to track the latest 'block number' diff --git a/rpc/client_opt_test.go b/rpc/client_opt_test.go index d7cc2572a..87616ea18 100644 --- a/rpc/client_opt_test.go +++ b/rpc/client_opt_test.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/rpc" ) // This example configures a HTTP-based RPC client with two options - one setting the diff --git a/rpc/client_test.go b/rpc/client_test.go index ac02ad33c..4bafc6dee 100644 --- a/rpc/client_test.go +++ b/rpc/client_test.go @@ -34,7 +34,7 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) func TestClientRequest(t *testing.T) { diff --git a/rpc/endpoints.go b/rpc/endpoints.go index d78ebe285..fdec2e13b 100644 --- a/rpc/endpoints.go +++ b/rpc/endpoints.go @@ -20,7 +20,7 @@ import ( "net" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) // StartIPCEndpoint starts an IPC endpoint. diff --git a/rpc/handler.go b/rpc/handler.go index f44e4d7b0..069726e0d 100644 --- a/rpc/handler.go +++ b/rpc/handler.go @@ -25,7 +25,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) // handler handles JSON-RPC messages. There is one handler per connection. Note that diff --git a/rpc/ipc.go b/rpc/ipc.go index a08245b27..e1369b5c1 100644 --- a/rpc/ipc.go +++ b/rpc/ipc.go @@ -20,8 +20,8 @@ import ( "context" "net" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/p2p/netutil" ) // ServeListener accepts connections on l, serving JSON-RPC on them. diff --git a/rpc/ipc_unix.go b/rpc/ipc_unix.go index 33c1cad54..3a881c902 100644 --- a/rpc/ipc_unix.go +++ b/rpc/ipc_unix.go @@ -26,7 +26,7 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) const ( diff --git a/rpc/metrics.go b/rpc/metrics.go index ef7449ce0..96f24a5ff 100644 --- a/rpc/metrics.go +++ b/rpc/metrics.go @@ -20,7 +20,7 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/metrics" ) var ( diff --git a/rpc/server.go b/rpc/server.go index 2742adf07..91bec2562 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -22,7 +22,7 @@ import ( "sync" "sync/atomic" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) const MetadataApi = "rpc" diff --git a/rpc/service.go b/rpc/service.go index a180b8db9..0ef8db187 100644 --- a/rpc/service.go +++ b/rpc/service.go @@ -25,7 +25,7 @@ import ( "sync" "unicode" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) var ( diff --git a/rpc/subscription_test.go b/rpc/subscription_test.go index 3a131c8e6..f4d4aac5c 100644 --- a/rpc/subscription_test.go +++ b/rpc/subscription_test.go @@ -28,8 +28,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) func TestNewID(t *testing.T) { diff --git a/rpc/types.go b/rpc/types.go index f88c37c59..088cd6e23 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -23,8 +23,8 @@ import ( "math" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) // API describes the set of methods offered over the RPC interface diff --git a/rpc/types_test.go b/rpc/types_test.go index 617f441d9..b5766b24c 100644 --- a/rpc/types_test.go +++ b/rpc/types_test.go @@ -21,8 +21,8 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" ) func TestBlockNumberJSONUnmarshal(t *testing.T) { diff --git a/rpc/websocket.go b/rpc/websocket.go index 538e53a31..7b8d4121d 100644 --- a/rpc/websocket.go +++ b/rpc/websocket.go @@ -28,7 +28,7 @@ import ( "time" mapset "github.com/deckarep/golang-set/v2" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" "github.com/gorilla/websocket" ) diff --git a/signer/core/api.go b/signer/core/api.go index ef8c13662..82c7e4a27 100644 --- a/signer/core/api.go +++ b/signer/core/api.go @@ -26,18 +26,18 @@ import ( "os" "reflect" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/accounts/scwallet" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/accounts/scwallet" + "github.com/KP-Universe/go-kpu/accounts/usbwallet" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/signer/storage" ) const ( diff --git a/signer/core/api_test.go b/signer/core/api_test.go index 69229dada..b7b167e2f 100644 --- a/signer/core/api_test.go +++ b/signer/core/api_test.go @@ -26,17 +26,17 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/fourbyte" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/signer/core" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/signer/fourbyte" + "github.com/KP-Universe/go-kpu/signer/storage" ) // Used for testing diff --git a/signer/core/apitypes/signed_data_internal_test.go b/signer/core/apitypes/signed_data_internal_test.go index 8067893c2..26dec731d 100644 --- a/signer/core/apitypes/signed_data_internal_test.go +++ b/signer/core/apitypes/signed_data_internal_test.go @@ -21,9 +21,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" ) func TestBytesPadding(t *testing.T) { diff --git a/signer/core/apitypes/types.go b/signer/core/apitypes/types.go index 6bfcd2a72..fedb9b91c 100644 --- a/signer/core/apitypes/types.go +++ b/signer/core/apitypes/types.go @@ -28,12 +28,12 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" ) var typedDataReferenceTypeRegexp = regexp.MustCompile(`^[A-Za-z](\w*)(\[\])?$`) diff --git a/signer/core/auditlog.go b/signer/core/auditlog.go index d2207c9eb..01783be2c 100644 --- a/signer/core/auditlog.go +++ b/signer/core/auditlog.go @@ -21,11 +21,11 @@ import ( "encoding/json" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" "golang.org/x/exp/slog" ) diff --git a/signer/core/cliui.go b/signer/core/cliui.go index b1bd3206e..423400d45 100644 --- a/signer/core/cliui.go +++ b/signer/core/cliui.go @@ -25,10 +25,10 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/console/prompt" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/console/prompt" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/log" ) type CommandlineUI struct { diff --git a/signer/core/gnosis_safe.go b/signer/core/gnosis_safe.go index 01724e538..674d881c4 100644 --- a/signer/core/gnosis_safe.go +++ b/signer/core/gnosis_safe.go @@ -20,10 +20,10 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" ) // GnosisSafeTx is a type to parse the safe-tx returned by the relayer, diff --git a/signer/core/signed_data.go b/signer/core/signed_data.go index 3c2b6f5d4..9dd778da5 100644 --- a/signer/core/signed_data.go +++ b/signer/core/signed_data.go @@ -23,14 +23,14 @@ import ( "fmt" "mime" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/consensus/clique" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" ) // sign receives a request and produces a signature diff --git a/signer/core/signed_data_test.go b/signer/core/signed_data_test.go index 1cf8b4bf3..9665124f1 100644 --- a/signer/core/signed_data_test.go +++ b/signer/core/signed_data_test.go @@ -27,13 +27,13 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/signer/core" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" ) var typesStandard = apitypes.Types{ diff --git a/signer/core/stdioui.go b/signer/core/stdioui.go index a0ce68441..f2e5a0dcb 100644 --- a/signer/core/stdioui.go +++ b/signer/core/stdioui.go @@ -19,9 +19,9 @@ package core import ( "context" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rpc" ) type StdIOUI struct { diff --git a/signer/core/uiapi.go b/signer/core/uiapi.go index b8c3acfb4..630e460c7 100644 --- a/signer/core/uiapi.go +++ b/signer/core/uiapi.go @@ -24,11 +24,11 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/accounts/keystore" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/crypto" ) // UIServerAPI implements methods Clef provides for a UI to query, in the bidirectional communication diff --git a/signer/fourbyte/abi.go b/signer/fourbyte/abi.go index 352abc59e..4849b1eaf 100644 --- a/signer/fourbyte/abi.go +++ b/signer/fourbyte/abi.go @@ -22,8 +22,8 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/common" ) // decodedCallData is an internal type to represent a method call parsed according diff --git a/signer/fourbyte/abi_test.go b/signer/fourbyte/abi_test.go index 9656732df..a895fe70c 100644 --- a/signer/fourbyte/abi_test.go +++ b/signer/fourbyte/abi_test.go @@ -22,8 +22,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/common" ) func verify(t *testing.T, jsondata, calldata string, exp []interface{}) { diff --git a/signer/fourbyte/fourbyte_test.go b/signer/fourbyte/fourbyte_test.go index a3dc3b511..8df8b0e9f 100644 --- a/signer/fourbyte/fourbyte_test.go +++ b/signer/fourbyte/fourbyte_test.go @@ -21,8 +21,8 @@ import ( "fmt" "testing" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/accounts/abi" + "github.com/KP-Universe/go-kpu/common" ) // Tests that all the selectors contained in the 4byte database are valid. diff --git a/signer/fourbyte/validation.go b/signer/fourbyte/validation.go index 58111e8e0..e938da4ab 100644 --- a/signer/fourbyte/validation.go +++ b/signer/fourbyte/validation.go @@ -22,8 +22,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" ) // ValidateTransaction does a number of checks on the supplied transaction, and diff --git a/signer/fourbyte/validation_test.go b/signer/fourbyte/validation_test.go index 74fed9fe0..a2406cb10 100644 --- a/signer/fourbyte/validation_test.go +++ b/signer/fourbyte/validation_test.go @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" ) func mixAddr(a string) (*common.MixedcaseAddress, error) { diff --git a/signer/rules/rules.go b/signer/rules/rules.go index c9921e57a..9a5ffe4ab 100644 --- a/signer/rules/rules.go +++ b/signer/rules/rules.go @@ -24,11 +24,11 @@ import ( "strings" "github.com/dop251/goja" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/internal/jsre/deps" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/internal/jsre/deps" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/signer/core" + "github.com/KP-Universe/go-kpu/signer/storage" ) // consoleOutput is an override for the console.log and console.error methods to diff --git a/signer/rules/rules_test.go b/signer/rules/rules_test.go index d27de22b2..5ff577621 100644 --- a/signer/rules/rules_test.go +++ b/signer/rules/rules_test.go @@ -22,14 +22,14 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/signer/core" - "github.com/ethereum/go-ethereum/signer/core/apitypes" - "github.com/ethereum/go-ethereum/signer/storage" + "github.com/KP-Universe/go-kpu/accounts" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/internal/ethapi" + "github.com/KP-Universe/go-kpu/signer/core" + "github.com/KP-Universe/go-kpu/signer/core/apitypes" + "github.com/KP-Universe/go-kpu/signer/storage" ) const JS = ` diff --git a/signer/storage/aes_gcm_storage.go b/signer/storage/aes_gcm_storage.go index 928d643dd..e4d5fe2eb 100644 --- a/signer/storage/aes_gcm_storage.go +++ b/signer/storage/aes_gcm_storage.go @@ -24,7 +24,7 @@ import ( "io" "os" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/log" ) type storedCredential struct { diff --git a/signer/storage/aes_gcm_storage_test.go b/signer/storage/aes_gcm_storage_test.go index a223b1a6b..2c79a7864 100644 --- a/signer/storage/aes_gcm_storage_test.go +++ b/signer/storage/aes_gcm_storage_test.go @@ -23,8 +23,8 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" "github.com/mattn/go-colorable" "golang.org/x/exp/slog" ) diff --git a/tests/block_test.go b/tests/block_test.go index aa6f27b8f..d4f523b5c 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -21,8 +21,8 @@ import ( "runtime" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" ) func TestBlockchain(t *testing.T) { diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 2b6ba6db0..ecc8683ea 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -26,22 +26,22 @@ import ( "os" "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/beacon" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/beacon" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" ) // A BlockTest checks handling of entire blocks. diff --git a/tests/difficulty_test.go b/tests/difficulty_test.go index 03e14df7c..bb61def8e 100644 --- a/tests/difficulty_test.go +++ b/tests/difficulty_test.go @@ -20,7 +20,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) var ( diff --git a/tests/difficulty_test_util.go b/tests/difficulty_test_util.go index 62b978f9e..42b3b5caf 100644 --- a/tests/difficulty_test_util.go +++ b/tests/difficulty_test_util.go @@ -20,11 +20,11 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" ) //go:generate go run github.com/fjl/gencodec -type DifficultyTest -field-override difficultyTestMarshaling -out gen_difficultytest.go diff --git a/tests/fuzzers/bls12381/bls12381_fuzz.go b/tests/fuzzers/bls12381/bls12381_fuzz.go index 9a5c56654..2eb9a6af6 100644 --- a/tests/fuzzers/bls12381/bls12381_fuzz.go +++ b/tests/fuzzers/bls12381/bls12381_fuzz.go @@ -30,8 +30,8 @@ import ( gnark "github.com/consensys/gnark-crypto/ecc/bls12-381" "github.com/consensys/gnark-crypto/ecc/bls12-381/fp" "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto/bls12381" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto/bls12381" blst "github.com/supranational/blst/bindings/go" ) diff --git a/tests/fuzzers/bls12381/precompile_fuzzer.go b/tests/fuzzers/bls12381/precompile_fuzzer.go index 763ed56e9..5372fec46 100644 --- a/tests/fuzzers/bls12381/precompile_fuzzer.go +++ b/tests/fuzzers/bls12381/precompile_fuzzer.go @@ -20,8 +20,8 @@ import ( "bytes" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/vm" ) const ( diff --git a/tests/fuzzers/bn256/bn256_fuzz.go b/tests/fuzzers/bn256/bn256_fuzz.go index 75f7d59de..a72c168e5 100644 --- a/tests/fuzzers/bn256/bn256_fuzz.go +++ b/tests/fuzzers/bn256/bn256_fuzz.go @@ -23,8 +23,8 @@ import ( "math/big" "github.com/consensys/gnark-crypto/ecc/bn254" - cloudflare "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare" - google "github.com/ethereum/go-ethereum/crypto/bn256/google" + cloudflare "github.com/KP-Universe/go-kpu/crypto/bn256/cloudflare" + google "github.com/KP-Universe/go-kpu/crypto/bn256/google" ) func getG1Points(input io.Reader) (*cloudflare.G1, *google.G1, *bn254.G1Affine) { diff --git a/tests/fuzzers/difficulty/difficulty-fuzz.go b/tests/fuzzers/difficulty/difficulty-fuzz.go index fbbd7f687..6cbcb54f5 100644 --- a/tests/fuzzers/difficulty/difficulty-fuzz.go +++ b/tests/fuzzers/difficulty/difficulty-fuzz.go @@ -23,8 +23,8 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/consensus/ethash" + "github.com/KP-Universe/go-kpu/core/types" ) type fuzzer struct { diff --git a/tests/fuzzers/rangeproof/rangeproof-fuzzer.go b/tests/fuzzers/rangeproof/rangeproof-fuzzer.go index 6b5ca9088..6b763b831 100644 --- a/tests/fuzzers/rangeproof/rangeproof-fuzzer.go +++ b/tests/fuzzers/rangeproof/rangeproof-fuzzer.go @@ -22,10 +22,10 @@ import ( "fmt" "io" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb/memorydb" - "github.com/ethereum/go-ethereum/trie" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/trie" "golang.org/x/exp/slices" ) diff --git a/tests/fuzzers/secp256k1/secp_test.go b/tests/fuzzers/secp256k1/secp_test.go index ca3039764..3ee3cedf9 100644 --- a/tests/fuzzers/secp256k1/secp_test.go +++ b/tests/fuzzers/secp256k1/secp_test.go @@ -21,7 +21,7 @@ import ( "testing" "github.com/btcsuite/btcd/btcec/v2" - "github.com/ethereum/go-ethereum/crypto/secp256k1" + "github.com/KP-Universe/go-kpu/crypto/secp256k1" ) func TestFuzzer(t *testing.T) { diff --git a/tests/fuzzers/txfetcher/txfetcher_fuzzer.go b/tests/fuzzers/txfetcher/txfetcher_fuzzer.go index 51f2fc3b4..a03f6a966 100644 --- a/tests/fuzzers/txfetcher/txfetcher_fuzzer.go +++ b/tests/fuzzers/txfetcher/txfetcher_fuzzer.go @@ -23,10 +23,10 @@ import ( "math/rand" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/fetcher" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/mclock" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/eth/fetcher" ) var ( diff --git a/tests/gen_btheader.go b/tests/gen_btheader.go index 80ad89e03..3d2a13be1 100644 --- a/tests/gen_btheader.go +++ b/tests/gen_btheader.go @@ -6,10 +6,10 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" ) var _ = (*btHeaderMarshaling)(nil) diff --git a/tests/gen_difficultytest.go b/tests/gen_difficultytest.go index cd15ae31b..87d014984 100644 --- a/tests/gen_difficultytest.go +++ b/tests/gen_difficultytest.go @@ -6,8 +6,8 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" ) var _ = (*difficultyTestMarshaling)(nil) diff --git a/tests/gen_stenv.go b/tests/gen_stenv.go index a5bd0d5fc..c78860e96 100644 --- a/tests/gen_stenv.go +++ b/tests/gen_stenv.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/math" ) var _ = (*stEnvMarshaling)(nil) diff --git a/tests/gen_sttransaction.go b/tests/gen_sttransaction.go index 9b5aecbfe..be0cf4170 100644 --- a/tests/gen_sttransaction.go +++ b/tests/gen_sttransaction.go @@ -6,10 +6,10 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/core/types" ) var _ = (*stTransactionMarshaling)(nil) diff --git a/tests/init.go b/tests/init.go index 99b7e4d33..e9ac10f95 100644 --- a/tests/init.go +++ b/tests/init.go @@ -21,7 +21,7 @@ import ( "math/big" "sort" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) func u64(val uint64) *uint64 { return &val } diff --git a/tests/init_test.go b/tests/init_test.go index 3ab15e765..739c89d53 100644 --- a/tests/init_test.go +++ b/tests/init_test.go @@ -30,7 +30,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) var ( diff --git a/tests/rlp_test_util.go b/tests/rlp_test_util.go index e4bd5450a..c515cd702 100644 --- a/tests/rlp_test_util.go +++ b/tests/rlp_test_util.go @@ -24,7 +24,7 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" ) // RLPTest is the JSON structure of a single RLP test. diff --git a/tests/state_test.go b/tests/state_test.go index 3a7e83ae3..517ddc17d 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -30,13 +30,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers/logger" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/eth/tracers/logger" "github.com/holiman/uint256" ) diff --git a/tests/state_test_util.go b/tests/state_test_util.go index eb5738242..d72b22f41 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -25,23 +25,23 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/misc/eip4844" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/state/snapshot" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/common/math" + "github.com/KP-Universe/go-kpu/consensus/misc/eip4844" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/state" + "github.com/KP-Universe/go-kpu/core/state/snapshot" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/core/vm" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" "github.com/holiman/uint256" "golang.org/x/crypto/sha3" ) diff --git a/tests/transaction_test.go b/tests/transaction_test.go index cb0f26231..1ba616a93 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -19,7 +19,7 @@ package tests import ( "testing" - "github.com/ethereum/go-ethereum/params" + "github.com/KP-Universe/go-kpu/params" ) func TestTransaction(t *testing.T) { diff --git a/tests/transaction_test_util.go b/tests/transaction_test_util.go index 391aa5758..c72252919 100644 --- a/tests/transaction_test_util.go +++ b/tests/transaction_test_util.go @@ -19,12 +19,12 @@ package tests import ( "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" + "github.com/KP-Universe/go-kpu/core" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/rlp" ) // TransactionTest checks RLP decoding and sender derivation of transactions. diff --git a/trie/committer.go b/trie/committer.go index 92163cdb3..fc82ff1b9 100644 --- a/trie/committer.go +++ b/trie/committer.go @@ -19,8 +19,8 @@ package trie import ( "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/trie/trienode" ) // committer is the tool used for the trie Commit operation. The committer will diff --git a/trie/database.go b/trie/database.go index e20f7ef90..d6bab5a29 100644 --- a/trie/database.go +++ b/trie/database.go @@ -19,13 +19,13 @@ package trie import ( "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" ) // Config defines all necessary options for database. diff --git a/trie/database_test.go b/trie/database_test.go index d508c6553..7b7fcc104 100644 --- a/trie/database_test.go +++ b/trie/database_test.go @@ -17,10 +17,10 @@ package trie import ( - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/trie/triedb/hashdb" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/trie/triedb/hashdb" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" ) // newTestDatabase initializes the trie database with specified scheme. diff --git a/trie/errors.go b/trie/errors.go index 7be7041c7..c78c2a0a6 100644 --- a/trie/errors.go +++ b/trie/errors.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // ErrCommitted is returned when a already committed trie is requested for usage. diff --git a/trie/hasher.go b/trie/hasher.go index 1e063d802..4e97c4389 100644 --- a/trie/hasher.go +++ b/trie/hasher.go @@ -19,8 +19,8 @@ package trie import ( "sync" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" "golang.org/x/crypto/sha3" ) diff --git a/trie/iterator.go b/trie/iterator.go index 83ccc0740..3fe97d482 100644 --- a/trie/iterator.go +++ b/trie/iterator.go @@ -21,8 +21,8 @@ import ( "container/heap" "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" ) // NodeResolver is used for looking up trie nodes before reaching into the real diff --git a/trie/iterator_test.go b/trie/iterator_test.go index 9679b49ca..1ab0619b9 100644 --- a/trie/iterator_test.go +++ b/trie/iterator_test.go @@ -22,11 +22,11 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/trie/trienode" ) func TestEmptyIterator(t *testing.T) { diff --git a/trie/node.go b/trie/node.go index 15bbf62f1..38ceea328 100644 --- a/trie/node.go +++ b/trie/node.go @@ -21,8 +21,8 @@ import ( "io" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/rlp" ) var indices = []string{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "[17]"} diff --git a/trie/node_enc.go b/trie/node_enc.go index 1b2eca682..4a3dfe5bf 100644 --- a/trie/node_enc.go +++ b/trie/node_enc.go @@ -17,7 +17,7 @@ package trie import ( - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/rlp" ) func nodeToBytes(n node) []byte { diff --git a/trie/node_test.go b/trie/node_test.go index 9b8b33748..5fb2ded94 100644 --- a/trie/node_test.go +++ b/trie/node_test.go @@ -20,8 +20,8 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" ) func newTestFullNode(v []byte) []interface{} { diff --git a/trie/preimages.go b/trie/preimages.go index 66f34117c..1f1ff96d9 100644 --- a/trie/preimages.go +++ b/trie/preimages.go @@ -19,9 +19,9 @@ package trie import ( "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" ) // preimageStore is the store for caching preimages of node key. diff --git a/trie/proof.go b/trie/proof.go index a526a5340..a6e5d60a4 100644 --- a/trie/proof.go +++ b/trie/proof.go @@ -21,9 +21,9 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" ) // Prove constructs a merkle proof for key. The result contains all encoded nodes diff --git a/trie/proof_test.go b/trie/proof_test.go index 59ae201ce..a6c24efe9 100644 --- a/trie/proof_test.go +++ b/trie/proof_test.go @@ -24,10 +24,10 @@ import ( mrand "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" "golang.org/x/exp/slices" ) diff --git a/trie/secure_trie.go b/trie/secure_trie.go index 7f0685e30..6c61c43ca 100644 --- a/trie/secure_trie.go +++ b/trie/secure_trie.go @@ -17,10 +17,10 @@ package trie import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie/trienode" ) // SecureTrie is the old name of StateTrie. diff --git a/trie/secure_trie_test.go b/trie/secure_trie_test.go index 2087866d3..d4ff3cb13 100644 --- a/trie/secure_trie_test.go +++ b/trie/secure_trie_test.go @@ -23,11 +23,11 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/trie/trienode" ) func newEmptySecure() *StateTrie { diff --git a/trie/stacktrie.go b/trie/stacktrie.go index f2f5355c4..69cbd7b2a 100644 --- a/trie/stacktrie.go +++ b/trie/stacktrie.go @@ -21,10 +21,10 @@ import ( "errors" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" ) var ( diff --git a/trie/stacktrie_fuzzer_test.go b/trie/stacktrie_fuzzer_test.go index 1b3f9dbe9..b66058ea7 100644 --- a/trie/stacktrie_fuzzer_test.go +++ b/trie/stacktrie_fuzzer_test.go @@ -22,11 +22,11 @@ import ( "fmt" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/trie/trienode" "golang.org/x/crypto/sha3" "golang.org/x/exp/slices" ) diff --git a/trie/stacktrie_test.go b/trie/stacktrie_test.go index 909a77062..060106470 100644 --- a/trie/stacktrie_test.go +++ b/trie/stacktrie_test.go @@ -22,10 +22,10 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/trie/testutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/trie/testutil" "github.com/stretchr/testify/assert" "golang.org/x/exp/slices" ) diff --git a/trie/sync.go b/trie/sync.go index 589d28364..fb8425bf3 100644 --- a/trie/sync.go +++ b/trie/sync.go @@ -21,13 +21,13 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/prque" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/prque" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" ) // ErrNotRequested is returned by the trie sync when it's requested to process a diff --git a/trie/sync_test.go b/trie/sync_test.go index 585181b48..08b9ee29f 100644 --- a/trie/sync_test.go +++ b/trie/sync_test.go @@ -22,13 +22,13 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethdb/memorydb" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/ethdb/memorydb" + "github.com/KP-Universe/go-kpu/trie/trienode" ) // makeTestTrie create a sample test trie to test node-wise reconstruction. diff --git a/trie/testutil/utils.go b/trie/testutil/utils.go index a75d0431b..230689f27 100644 --- a/trie/testutil/utils.go +++ b/trie/testutil/utils.go @@ -21,9 +21,9 @@ import ( "encoding/binary" mrand "math/rand" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/trie/trienode" ) // Prng is a pseudo random number generator seeded by strong randomness. diff --git a/trie/tracer.go b/trie/tracer.go index 5786af4d3..74e58ee7e 100644 --- a/trie/tracer.go +++ b/trie/tracer.go @@ -17,7 +17,7 @@ package trie import ( - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // tracer tracks the changes of trie nodes. During the trie operations, diff --git a/trie/tracer_test.go b/trie/tracer_test.go index acb8c2f6b..d964cae96 100644 --- a/trie/tracer_test.go +++ b/trie/tracer_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/trie/trienode" ) var ( diff --git a/trie/trie.go b/trie/trie.go index 07467ac69..2d4f68c2d 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -22,10 +22,10 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie/trienode" ) // Trie is a Merkle Patricia Trie. Use New to create a trie that sits on diff --git a/trie/trie_id.go b/trie/trie_id.go index 8ab490ca3..7d1bab390 100644 --- a/trie/trie_id.go +++ b/trie/trie_id.go @@ -16,7 +16,7 @@ package trie -import "github.com/ethereum/go-ethereum/common" +import "github.com/KP-Universe/go-kpu/common" // ID is the identifier for uniquely identifying a trie. type ID struct { diff --git a/trie/trie_reader.go b/trie/trie_reader.go index 421596455..76cbd3daf 100644 --- a/trie/trie_reader.go +++ b/trie/trie_reader.go @@ -17,10 +17,10 @@ package trie import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie/triestate" ) // Reader wraps the Node method of a backing trie store. diff --git a/trie/trie_test.go b/trie/trie_test.go index fcbd552e2..f31e227f0 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -29,13 +29,13 @@ import ( "testing/quick" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie/trienode" "github.com/holiman/uint256" "golang.org/x/crypto/sha3" ) diff --git a/trie/triedb/hashdb/database.go b/trie/triedb/hashdb/database.go index e45ccdba3..0abca0b58 100644 --- a/trie/triedb/hashdb/database.go +++ b/trie/triedb/hashdb/database.go @@ -24,15 +24,15 @@ import ( "time" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/metrics" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" ) var ( diff --git a/trie/triedb/pathdb/database.go b/trie/triedb/pathdb/database.go index f2d6cea63..ee53baf98 100644 --- a/trie/triedb/pathdb/database.go +++ b/trie/triedb/pathdb/database.go @@ -23,14 +23,14 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/params" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" ) const ( diff --git a/trie/triedb/pathdb/database_test.go b/trie/triedb/pathdb/database_test.go index e7bd46999..d13a14678 100644 --- a/trie/triedb/pathdb/database_test.go +++ b/trie/triedb/pathdb/database_test.go @@ -23,14 +23,14 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie/testutil" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie/testutil" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" "github.com/holiman/uint256" ) diff --git a/trie/triedb/pathdb/difflayer.go b/trie/triedb/pathdb/difflayer.go index 10567715d..1cd28d55d 100644 --- a/trie/triedb/pathdb/difflayer.go +++ b/trie/triedb/pathdb/difflayer.go @@ -20,10 +20,10 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" ) // diffLayer represents a collection of modifications made to the in-memory tries diff --git a/trie/triedb/pathdb/difflayer_test.go b/trie/triedb/pathdb/difflayer_test.go index 9b5907c3c..c9af24bdb 100644 --- a/trie/triedb/pathdb/difflayer_test.go +++ b/trie/triedb/pathdb/difflayer_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/trie/testutil" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/trie/testutil" + "github.com/KP-Universe/go-kpu/trie/trienode" ) func emptyLayer() *diskLayer { diff --git a/trie/triedb/pathdb/disklayer.go b/trie/triedb/pathdb/disklayer.go index ef697cbce..efaa166ba 100644 --- a/trie/triedb/pathdb/disklayer.go +++ b/trie/triedb/pathdb/disklayer.go @@ -22,12 +22,12 @@ import ( "sync" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" "golang.org/x/crypto/sha3" ) diff --git a/trie/triedb/pathdb/errors.go b/trie/triedb/pathdb/errors.go index 78ee4459f..48bb396e9 100644 --- a/trie/triedb/pathdb/errors.go +++ b/trie/triedb/pathdb/errors.go @@ -20,8 +20,8 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/common/hexutil" ) var ( diff --git a/trie/triedb/pathdb/history.go b/trie/triedb/pathdb/history.go index 6e3f3faae..9b5f5414c 100644 --- a/trie/triedb/pathdb/history.go +++ b/trie/triedb/pathdb/history.go @@ -23,11 +23,11 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie/triestate" "golang.org/x/exp/slices" ) diff --git a/trie/triedb/pathdb/history_test.go b/trie/triedb/pathdb/history_test.go index a3257441d..fc9e8e185 100644 --- a/trie/triedb/pathdb/history_test.go +++ b/trie/triedb/pathdb/history_test.go @@ -22,13 +22,13 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie/testutil" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie/testutil" + "github.com/KP-Universe/go-kpu/trie/triestate" ) // randomStateSet generates a random state change set. diff --git a/trie/triedb/pathdb/journal.go b/trie/triedb/pathdb/journal.go index ac770763e..bb26bc39d 100644 --- a/trie/triedb/pathdb/journal.go +++ b/trie/triedb/pathdb/journal.go @@ -23,14 +23,14 @@ import ( "io" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" ) var ( diff --git a/trie/triedb/pathdb/layertree.go b/trie/triedb/pathdb/layertree.go index d31477991..4f12cdc1d 100644 --- a/trie/triedb/pathdb/layertree.go +++ b/trie/triedb/pathdb/layertree.go @@ -21,10 +21,10 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" ) // layerTree is a group of state layers identified by the state root. diff --git a/trie/triedb/pathdb/metrics.go b/trie/triedb/pathdb/metrics.go index 9e2b1dcbf..cc91b41e8 100644 --- a/trie/triedb/pathdb/metrics.go +++ b/trie/triedb/pathdb/metrics.go @@ -16,7 +16,7 @@ package pathdb -import "github.com/ethereum/go-ethereum/metrics" +import "github.com/KP-Universe/go-kpu/metrics" var ( cleanHitMeter = metrics.NewRegisteredMeter("pathdb/clean/hit", nil) diff --git a/trie/triedb/pathdb/nodebuffer.go b/trie/triedb/pathdb/nodebuffer.go index 4a7d328b9..e7d9d020a 100644 --- a/trie/triedb/pathdb/nodebuffer.go +++ b/trie/triedb/pathdb/nodebuffer.go @@ -21,12 +21,12 @@ import ( "time" "github.com/VictoriaMetrics/fastcache" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/log" + "github.com/KP-Universe/go-kpu/trie/trienode" ) // nodebuffer is a collection of modified trie nodes to aggregate the disk diff --git a/trie/triedb/pathdb/testutils.go b/trie/triedb/pathdb/testutils.go index d6fdacb42..e4913d44c 100644 --- a/trie/triedb/pathdb/testutils.go +++ b/trie/triedb/pathdb/testutils.go @@ -20,11 +20,11 @@ import ( "bytes" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/triestate" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/triestate" "golang.org/x/exp/slices" ) diff --git a/trie/trienode/node.go b/trie/trienode/node.go index 95315c2e9..8b59cf4c8 100644 --- a/trie/trienode/node.go +++ b/trie/trienode/node.go @@ -21,7 +21,7 @@ import ( "sort" "strings" - "github.com/ethereum/go-ethereum/common" + "github.com/KP-Universe/go-kpu/common" ) // Node is a wrapper which contains the encoded blob of the trie node and its diff --git a/trie/trienode/proof.go b/trie/trienode/proof.go index 012f0087d..6aa86f41a 100644 --- a/trie/trienode/proof.go +++ b/trie/trienode/proof.go @@ -20,10 +20,10 @@ import ( "errors" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/rlp" ) // ProofSet stores a set of trie nodes. It implements trie.Database and can also diff --git a/trie/triestate/state.go b/trie/triestate/state.go index 4c47e9c39..47ca76460 100644 --- a/trie/triestate/state.go +++ b/trie/triestate/state.go @@ -21,11 +21,11 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie/trienode" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/crypto" + "github.com/KP-Universe/go-kpu/rlp" + "github.com/KP-Universe/go-kpu/trie/trienode" "golang.org/x/crypto/sha3" ) diff --git a/trie/utils/verkle.go b/trie/utils/verkle.go index ce059edc6..4c356cc1c 100644 --- a/trie/utils/verkle.go +++ b/trie/utils/verkle.go @@ -21,8 +21,8 @@ import ( "sync" "github.com/crate-crypto/go-ipa/bandersnatch/fr" - "github.com/ethereum/go-ethereum/common/lru" - "github.com/ethereum/go-ethereum/metrics" + "github.com/KP-Universe/go-kpu/common/lru" + "github.com/KP-Universe/go-kpu/metrics" "github.com/gballet/go-verkle" "github.com/holiman/uint256" ) diff --git a/trie/verkle.go b/trie/verkle.go index c21a796a0..13dec563d 100644 --- a/trie/verkle.go +++ b/trie/verkle.go @@ -21,11 +21,11 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/trie/trienode" - "github.com/ethereum/go-ethereum/trie/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/ethdb" + "github.com/KP-Universe/go-kpu/trie/trienode" + "github.com/KP-Universe/go-kpu/trie/utils" "github.com/gballet/go-verkle" "github.com/holiman/uint256" ) diff --git a/trie/verkle_test.go b/trie/verkle_test.go index 1c65b673a..0b940ba66 100644 --- a/trie/verkle_test.go +++ b/trie/verkle_test.go @@ -21,11 +21,11 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/rawdb" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/trie/triedb/pathdb" - "github.com/ethereum/go-ethereum/trie/utils" + "github.com/KP-Universe/go-kpu/common" + "github.com/KP-Universe/go-kpu/core/rawdb" + "github.com/KP-Universe/go-kpu/core/types" + "github.com/KP-Universe/go-kpu/trie/triedb/pathdb" + "github.com/KP-Universe/go-kpu/trie/utils" "github.com/holiman/uint256" )