Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: rename eve to lime #1

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 eve-network
Copyright (c) 2024 lime

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -9,10 +9,10 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

* no one except Hyperia is permitted to use this code until eve's mainnet genesis.
* this restriction refers to all code in the eve-network gitbub organization and this repository.
* if you do want to use this code before genesis, please see: github.com/CosmWasm/wasmd -- the initial code here came from there and everything there is apache2. You can use that stuff before eve's genesis.
* The hyperia community has perpetual license to use this work without restriction, including before the launch of Eve.
* no one except Hyperia is permitted to use this code until lime's mainnet genesis.
* this restriction refers to all code in the lime gitbub organization and this repository.
* if you do want to use this code before genesis, please see: github.com/CosmWasm/wasmd -- the initial code here came from there anlimerything there is apache2. You can use that stuff before lime's genesis.
* The hyperia community has perpetual license to use this work without restriction, including before the launch of Lime.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Expand Down
26 changes: 13 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SIMAPP = ./app
DOCKER := $(shell which docker)
BUF_IMAGE=bufbuild/buf@sha256:3cb1f8a4b48bd5ad8f09168f10f607ddc318af202f5c057d52a45216793d85e5 #v1.4.0
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(BUF_IMAGE)
HTTPS_GIT := https://github.com/eve-network/eve.git
HTTPS_GIT := https://github.com/LimeChain/lime.git

export GO111MODULE = on

Expand Down Expand Up @@ -55,11 +55,11 @@ build_tags_comma_sep := $(subst $(empty),$(comma),$(build_tags))

# process linker flags

ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=eve \
-X github.com/cosmos/cosmos-sdk/version.AppName=eved \
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=lime \
-X github.com/cosmos/cosmos-sdk/version.AppName=limed \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
-X github.com/eve-network/eve/app.Bech32Prefix=eve \
-X github.com/LimeChain/lime/app.Bech32Prefix=lime \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)"

ifeq ($(WITH_CLEVELDB),yes)
Expand All @@ -80,14 +80,14 @@ all: install lint test

build: go.sum
ifeq ($(OS),Windows_NT)
$(error eved server not supported. Use "make build-windows-client" for client)
$(error limed server not supported. Use "make build-windows-client" for client)
exit 1
else
go build $(BUILD_FLAGS) -o build/eved ./cmd/eved
go build $(BUILD_FLAGS) -o build/limed ./cmd/limed
endif

build-windows-client: go.sum
GOOS=windows GOARCH=amd64 go build $(BUILD_FLAGS) -o build/eved.exe ./cmd/eved
GOOS=windows GOARCH=amd64 go build $(BUILD_FLAGS) -o build/limed.exe ./cmd/limed

build-contract-tests-hooks:
ifeq ($(OS),Windows_NT)
Expand All @@ -97,7 +97,7 @@ else
endif

install: go.sum
go install $(BUILD_FLAGS) ./cmd/eved
go install $(BUILD_FLAGS) ./cmd/limed

########################################
### Tools & dependencies
Expand All @@ -113,7 +113,7 @@ go.sum: go.mod
draw-deps:
@# requires brew install graphviz or apt-get install graphviz
go install github.com/RobotsAndPencils/goviz@latest
@goviz -i ./cmd/eved -d 2 | dot -Tpng -o dependency-graph.png
@goviz -i ./cmd/limed -d 2 | dot -Tpng -o dependency-graph.png

clean:
rm -rf snapcraft-local.yaml build/
Expand Down Expand Up @@ -170,11 +170,11 @@ init-test-framework: clean-testing-data install
./scripts/tests/relayer/interchain-acc-config/rly-init.sh

clean-testing-data:
@echo "Killing eved and removing previous data"
@echo "Killing limed and removing previous data"
-@pkill $(BINARY) 2>/dev/null
-@pkill rly 2>/dev/null
-@pkill eved_new 2>/dev/null
-@pkill eved_old 2>/dev/null
-@pkill limed_new 2>/dev/null
-@pkill limed_old 2>/dev/null
-@rm -rf ./data

###############################################################################
Expand All @@ -193,7 +193,7 @@ lint: format-tools
format: format-tools
find . -name '*.go' -type f -not -path "./vendor*" -not -path "./tests/system/vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs gofumpt -w
find . -name '*.go' -type f -not -path "./vendor*" -not -path "./tests/system/vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs misspell -w
find . -name '*.go' -type f -not -path "./vendor*" -not -path "./tests/system/vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs gci write --skip-generated -s standard -s default -s "prefix(cosmossdk.io)" -s "prefix(github.com/cosmos/cosmos-sdk)" -s "prefix(github.com/eve-network/eve)" --custom-order
find . -name '*.go' -type f -not -path "./vendor*" -not -path "./tests/system/vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs gci write --skip-generated -s standard -s default -s "prefix(cosmossdk.io)" -s "prefix(github.com/cosmos/cosmos-sdk)" -s "prefix(github.com/LimeChain/lime)" --custom-order


###############################################################################
Expand Down
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# eve
# lime

Eve is a governance minimized CosmWasm blockchain intended to push forward the state of the art in Cosmos.
Lime is a governance minimized CosmWasm blockchain intended to push forward the state of the art in Cosmos.

Contract uploads are not permissioned in any way, and governance thresholds have been adjusted to ensure that contract authors are not disturbed in their work. This chain emphasizes decentralization, interchain capability and governance minimization.

Eve won't compete with your contracts, and views herself as a beautiful, fertile platform for authors to bring their visions to life.
Lime won't compete with your contracts, and views herself as a beautiful, fertile platform for authors to bring their visions to life.

## Software at launch

Expand All @@ -16,7 +16,7 @@ Eve won't compete with your contracts, and views herself as a beautiful, fertile
* Token Factory
* IBC Hooks

This also means that Eve, as a loving mother and repeatable template, is committed to ensuring that the modules and middlewares above are kept up to date rigorously, with "up to date" being defined as supporting the latest release of cosmos-sdk, **regardless of the decisions of other teams**. Eve is very confident in the current cosmos-sdk and ibc-go maintenance teams and smiles warmly at them.
This also means that Lime, as a loving mother and repeatable template, is committed to ensuring that the modules and middlewares above are kept up to date rigorously, with "up to date" being defined as supporting the latest release of cosmos-sdk, **regardless of the decisions of other teams**. Lime is very confident in the current cosmos-sdk and ibc-go maintenance teams and smiles warmly at them.

## Planned software

Expand All @@ -38,32 +38,31 @@ Likely stuff built and tested here feeds into White Whale, Composable, Cyber, Sp

Contributors == team.

Quicksilver and affiliated teams plan to use eve to put the newest SDK, IBC and WASMD into produciton quickly. If you have ideas for eve, please feel free to fork and make a PR.
Quicksilver and affiliated teams plan to use lime to put the newest SDK, IBC and WASMD into produciton quickly. If you have ideas for lime, please feel free to fork and make a PR.

If you want to write an upgrade for Eve, it can be shipped from any repository, and you can just reference the url and commit hash.
If you want to write an upgrade for Lime, it can be shipped from any repository, and you can just reference the url and commit hash.

## Promises

Eve will remain as simple as possible, while using the latest cosmos ecosystem libraries. Eve won't use her community pool to compete with your contracts, becasue eve does not have a community pool.
Lime will remain as simple as possible, while using the latest cosmos ecosystem libraries. Lime won't use her community pool to compete with your contracts, becasue lime does not have a community pool.

## No Promises

Eve doesn't make promises and may not be exactly as described because she's an exploration of ideas first and foremost. This includes the airdrop.
Lime doesn't make promises and may not be exactly as described because she's an exploration of ideas first and foremost. This includes the airdrop.

## Economic Information

Eve thinks that beauty comes from simplicity, and economic design follows this.
Lime thinks that beauty comes from simplicity, and economic design follows this.

## Imperative

From eve will flow new designs and techniques that increase development velocity and ease of use across Cosmos.
From lime will flow new designs and techniques that increase development velocity and ease of use across Cosmos.

## Contributing

* Contributors will be added to this repository with write access.
* Chronic contributors will be added as owners
* We'll move this out of notional-labs sooner or later and owners will own the eve-network (or such) GitHub org
* you contribute here, in this repository, and there are many ways to contribute
* There are many ways to contribute
* code == docs
* docs == code
* logo == code
Expand Down
2 changes: 1 addition & 1 deletion app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
return sdk.ChainAnteDecorators(anteDecorators...), nil
}

// DenomResolverImpl is Eve's implementation of x/feemarket's DenomResolver
// DenomResolverImpl is Lime's implementation of x/feemarket's DenomResolver
type DenomResolverImpl struct {
FeeabsKeeper feeabskeeper.Keeper
StakingKeeper feeabstypes.StakingKeeper
Expand Down
10 changes: 5 additions & 5 deletions app/ante/ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (

func TestMempoolDecorator(t *testing.T) {
gasLimit := uint64(200000)
minGasPrice := sdk.NewDecCoinsFromCoins(sdk.NewInt64Coin("ueve", feemarkettypes.DefaultMinBaseGasPrice.TruncateInt64()))
minGasPrice := sdk.NewDecCoinsFromCoins(sdk.NewInt64Coin("ulime", feemarkettypes.DefaultMinBaseGasPrice.TruncateInt64()))
validFeeAmount := feemarkettypes.DefaultMinBaseGasPrice.MulInt64(int64(gasLimit))
validFee := sdk.NewCoins(sdk.NewCoin("ueve", validFeeAmount.TruncateInt()))
validFee := sdk.NewCoins(sdk.NewCoin("ulime", validFeeAmount.TruncateInt()))
validIbcFee := sdk.NewCoins(sdk.NewCoin("ibcfee", validFeeAmount.TruncateInt()))
// mockHostZoneConfig is used to mock the host zone config, with ibcfee as the ibc fee denom to be used as alternative fee
mockHostZoneConfig := types.HostChainFeeAbsConfig{
Expand Down Expand Up @@ -60,7 +60,7 @@ func TestMempoolDecorator(t *testing.T) {
err := suite.feeabsKeeper.SetHostZoneConfig(suite.ctx, mockHostZoneConfig)
require.NoError(t, err)
suite.feeabsKeeper.SetTwapRate(suite.ctx, "ibcfee", math.LegacyNewDec(1))
suite.stakingKeeper.EXPECT().BondDenom(gomock.Any()).Return("ueve", nil).AnyTimes()
suite.stakingKeeper.EXPECT().BondDenom(gomock.Any()).Return("ulime", nil).AnyTimes()
suite.bankKeeper.On("SendCoinsFromAccountToModule", mock.Anything, mock.Anything,
feemarkettypes.FeeCollectorName, mock.Anything).Return(nil).Once()
},
Expand All @@ -73,15 +73,15 @@ func TestMempoolDecorator(t *testing.T) {
err := suite.feeabsKeeper.SetHostZoneConfig(suite.ctx, mockHostZoneConfig)
require.NoError(t, err)
suite.feeabsKeeper.SetTwapRate(suite.ctx, "ibcfee", math.LegacyNewDec(1))
suite.stakingKeeper.EXPECT().BondDenom(gomock.Any()).Return("ueve", nil).AnyTimes()
suite.stakingKeeper.EXPECT().BondDenom(gomock.Any()).Return("ulime", nil).AnyTimes()
},
sdkerrors.ErrInsufficientFee,
},
{
"fee in unsupported denom, should fail",
sdk.NewCoins(sdk.NewCoin("unsupported", validFeeAmount.TruncateInt())),
func(suite *AnteTestSuite) {
suite.stakingKeeper.EXPECT().BondDenom(gomock.Any()).Return("ueve", nil).AnyTimes()
suite.stakingKeeper.EXPECT().BondDenom(gomock.Any()).Return("ulime", nil).AnyTimes()
},
ErrDenomNotRegistered("unsupported"),
},
Expand Down
2 changes: 1 addition & 1 deletion app/ante/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func SetupTestSuite(t *testing.T, isCheckTx bool) *AnteTestSuite {

// setup feemarket
feemarketParams := feemarkettypes.DefaultParams()
feemarketParams.FeeDenom = "ueve"
feemarketParams.FeeDenom = "ulime"
suite.feemarketKeeper = feemarketkeeper.NewKeeper(suite.encCfg.Codec, key, suite.accountKeeper, &DenomResolverImpl{
FeeabsKeeper: suite.feeabsKeeper,
StakingKeeper: suite.stakingKeeper,
Expand Down
Loading