Skip to content

Commit

Permalink
Merge pull request #44 from marmarachain/marmarad
Browse files Browse the repository at this point in the history
change to marmarad and marmara-cli
  • Loading branch information
rumeysayilmaz committed Apr 17, 2024
2 parents 4b73b24 + c0e0525 commit 49dd7c3
Show file tree
Hide file tree
Showing 33 changed files with 1,396 additions and 822 deletions.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--- Remove text and sections that do not apply -->

This issue tracker is only for technical issues related to komodod
This issue tracker is only for technical issues related to marmarad

General Komodo questions and/or support requests and are best directed to [Discord](https://komodoplatform.com/discord)
General Marmara questions and/or support requests and are best directed to [Discord](https://marmara.io/discord)

### Describe the issue
Please provide a general summary of the issue you're experiencing
Expand All @@ -19,8 +19,8 @@ Tell us what should happen
### Actual behaviour + errors
Tell us what happens instead including any noticable error output (any messages displayed on-screen when e.g. a crash occurred)

### The version of Komodo you were using:
Run `komodod --version` to find out
### The version of Marmara you were using:
Run `marmarad --version` to find out

### Machine specs:
- OS name + version:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Komodo Linux CI
name: Marmara Linux CI

on:
pull_request:
Expand Down Expand Up @@ -38,15 +38,15 @@ jobs:
run: |
# flag for some CC tests transactions - so DO NOT USE THIS CI ARTIFACTS IN PRODUCTION!!!
CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE' ./zcutil/build.sh -j$(nproc)
tar -czvf komodo-linux.tar.gz src/komodod src/komodo-cli
- name: Upload komodo-linux.tar.gz as artifact
tar -czvf marmara-linux.tar.gz src/marmarad src/marmara-cli
- name: Upload marmara-linux.tar.gz as artifact
uses: actions/upload-artifact@v1
with:
name: komodo-linux
path: ./komodo-linux.tar.gz
name: marmara-linux
path: ./marmara-linux.tar.gz

# linux-test-dice-token-reards-faucet-cc:

# if: ${{ false }}
# name: Test (Linux/Dice, Token, Faucet, Rewards)
# runs-on: ubuntu-18.04
# needs: linux-build
Expand Down Expand Up @@ -81,7 +81,8 @@ jobs:
# cd qa/pytest_komodo
# ./ci_setup.sh "cc_modules/test_dice.py cc_modules/test_faucet.py cc_modules/test_token.py cc_modules/test_rewards.py"
linux-test-oracles:

if: ${{ false }}

name: Test (Linux/OraclesCC)
runs-on: ubuntu-20.04
needs: linux-build
Expand All @@ -102,21 +103,22 @@ jobs:
libssl-dev -y
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-linux.tar.gz
- name: Download marmara-linux.tar.gz
uses: actions/download-artifact@v1
with:
name: komodo-linux
name: marmara-linux

- name: Oracles Test (Linux)
run: |
mv komodo-linux/komodo-linux.tar.gz .
mv marmara-linux/marmara-linux.tar.gz .
mkdir -p src
tar xzvf komodo-linux.tar.gz
tar xzvf marmara-linux.tar.gz
./zcutil/fetch-params.sh
cd qa/pytest_komodo
./ci_setup.sh cc_modules/test_oracles.py
linux-test-baserpc:

if: ${{ false }}

name: Test (Linux/BasicRPC)
runs-on: ubuntu-20.04
needs: linux-build
Expand All @@ -137,27 +139,28 @@ jobs:
libssl-dev -y
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-linux.tar.gz
- name: Download marmara-linux.tar.gz
uses: actions/download-artifact@v1
with:
name: komodo-linux
name: marmara-linux

- name: BasicRPC Test (Linux)
run: |
mv komodo-linux/komodo-linux.tar.gz .
mv marmara-linux/marmara-linux.tar.gz .
mkdir -p src
tar xzvf komodo-linux.tar.gz
tar xzvf marmara-linux.tar.gz
./zcutil/fetch-params.sh
cd qa/pytest_komodo
./ci_setup.sh basic
linux-test-channels:
# linux-test-channels:
# if: ${{ false }}

name: Test (Linux/ChannelsCC)
runs-on: ubuntu-20.04
needs: linux-build
# name: Test (Linux/ChannelsCC)
# runs-on: ubuntu-20.04
# needs: linux-build

steps:
- uses: actions/checkout@v2
# steps:
# - uses: actions/checkout@v2

# - name: Install deps (ChannelsCC)
# run: |
Expand Down Expand Up @@ -186,7 +189,7 @@ jobs:
# cd qa/pytest_komodo
# ./ci_setup.sh cc_modules/test_channels.py
# linux-test-heir:

# if: ${{ false }}
# name: Test (Linux/HeirCC)
# runs-on: ubuntu-18.04
# needs: linux-build
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Komodo MacOS CI
name: Marmara MacOS CI

on:
pull_request:
Expand All @@ -15,6 +15,19 @@ jobs:
steps:
- uses: actions/checkout@v2

# Workaround for https://github.com/actions/setup-python/issues/577
- name: Clean up binaries and links (macOS)
run: |
rm -f /usr/local/bin/2to3-3.*
rm -f /usr/local/bin/idle3.*
rm -f /usr/local/bin/pydoc3.*
rm -f /usr/local/bin/python3.*
rm -f /usr/local/bin/2to3
rm -f /usr/local/bin/idle3
rm -f /usr/local/bin/pydoc3
rm -f /usr/local/bin/python3
rm -f /usr/local/bin/python3-config
- name: Install deps (macOS)
run: |
brew update
Expand All @@ -28,17 +41,19 @@ jobs:
brew install wget
brew install python3
brew install gmp
- name: Build (macOS)
run: |
# flag for some CC tests transactions - so DO NOT USE THIS CI ARTIFACTS IN PRODUCTION!!!
export CPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/
./zcutil/build-mac-dtest.sh -j4
tar -czvf komodo-macos.tar.gz src/komodod src/komodo-cli
- name: Upload komodo-macos.tar.gz as artifact
tar -czvf marmara-macos.tar.gz src/marmarad src/marmara-cli
- name: Upload marmara-macos.tar.gz as artifact
uses: actions/upload-artifact@v1
with:
name: komodo-macos
path: ./komodo-macos.tar.gz
name: marmara-macos
path: ./marmara-macos.tar.gz

# macos-test-dice-token-reards-faucet-cc:

Expand Down Expand Up @@ -70,6 +85,7 @@ jobs:
# ./ci_setup.sh "cc_modules/test_dice.py cc_modules/test_faucet.py cc_modules/test_token.py cc_modules/test_rewards.py"

macos-test-oracles:
if: ${{ false }}

name: Test (macos/OraclesCC)
runs-on: macos-latest
Expand All @@ -83,21 +99,23 @@ jobs:
brew install python3 curl
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
- name: Download marmara-macos.tar.gz
uses: actions/download-artifact@v1
with:
name: komodo-macos
name: marmara-macos

- name: Oracles Test (macos)
run: |
mv komodo-macos/komodo-macos.tar.gz .
mv marmara-macos/marmara-macos.tar.gz .
mkdir -p src
tar xzvf komodo-macos.tar.gz
tar xzvf marmara-macos.tar.gz
./zcutil/fetch-params.sh
cd qa/pytest_komodo
./ci_setup.sh cc_modules/test_oracles.py
macos-test-baserpc:

if: ${{ false }}

name: Test (macos/BasicRPC)
runs-on: macos-latest
needs: macos-build
Expand All @@ -110,22 +128,23 @@ jobs:
brew install python3 curl
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
- name: Download marmara-macos.tar.gz
uses: actions/download-artifact@v1
with:
name: komodo-macos
name: marmara-macos

- name: BasicRPC Test (macos)
run: |
mv komodo-macos/komodo-macos.tar.gz .
mv marmara-macos/marmara-macos.tar.gz .
mkdir -p src
tar xzvf komodo-macos.tar.gz
tar xzvf marmara-macos.tar.gz
./zcutil/fetch-params.sh
cd qa/pytest_komodo
./ci_setup.sh basic
# macos-test-channels:

# if: ${{ false }}

# name: Test (macos/ChannelsCC)
# runs-on: macos-latest
# needs: macos-build
Expand Down Expand Up @@ -153,6 +172,7 @@ jobs:
# ./ci_setup.sh cc_modules/test_channels.py

# macos-test-heir:
# if: ${{ false }}

# name: Test (macos/HeirCC)
# runs-on: macos-latest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Komodo Win CI
name: Marmara Win CI

on:
pull_request:
Expand Down Expand Up @@ -65,33 +65,34 @@ jobs:
# flag for some CC tests transactions - so DO NOT USE THIS CI ARTIFACTS IN PRODUCTION!!!
export CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE'
./zcutil/build-win-dtest.sh -j$(nproc)
zip --junk-paths komodod_win src/komodod.exe src/komodo-cli.exe
- name: Upload komodod.exe as artifact
zip --junk-paths marmarad_win src/marmarad.exe src/marmara-cli.exe
- name: Upload marmarad_win as artifact
uses: actions/upload-artifact@v1
with:
name: komodod_win
path: ./komodod_win.zip
name: marmarad_win
path: ./marmarad_win.zip

windows-test-baserpc:

if: ${{ false }}

name: Test (Win/BasicRPC)
needs: windows-build
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Download komodo_win.zip
- name: Download marmarad_win.zip
uses: actions/download-artifact@v1
with:
name: komodod_win
name: marmarad_win

- name: Install deps (Base)
shell: cmd
run: |
move komodod_win\komodod_win.zip
7z e komodod_win.zip
move komodod.exe src\
move marmarad_win\marmarad_win.zip
7z e marmarad_win.zip
move marmarad.exe src\
python.exe -m pip install --upgrade setuptools
python.exe -m pip install --upgrade pip
python.exe -m pip install pycurl pytest wget jsonschema
Expand All @@ -103,7 +104,7 @@ jobs:
cd qa\pytest_komodo
start_ci.bat basic
# windows-test-dice-faucet-tok-rewCC:

# if: ${{ false }}
# name: Test (Win/Dice Faucet Token Rewards)
# runs-on: windows-latest
# needs: windows-build
Expand Down Expand Up @@ -136,25 +137,26 @@ jobs:
# cd qa\pytest_komodo
# start_ci.bat cc_modules\test_dice.py cc_modules\test_faucet.py cc_modules\test_token.py cc_modules\test_rewards.py
windows-test-oracles-cc:

if: ${{ false }}

name: Test (Win/OraclesCC)
runs-on: windows-latest
needs: windows-build

steps:
- uses: actions/checkout@v2

- name: Download komodo_win.zip
- name: Download marmarad_win.zip
uses: actions/download-artifact@v1
with:
name: komodod_win
name: marmarad_win

- name: Install deps (OraclesCC)
shell: cmd
run: |
move komodod_win\komodod_win.zip
7z e komodod_win.zip
move komodod.exe src\
move marmarad_win\marmarad_win.zip
7z e marmarad_win.zip
move marmarad.exe src\
python.exe -m pip install --upgrade setuptools
python.exe -m pip install --upgrade pip
python.exe -m pip install pycurl pytest wget jsonschema
Expand All @@ -166,7 +168,7 @@ jobs:
cd qa\pytest_komodo
start_ci.bat cc_modules\test_oracles.py
# windows-test-heir-cc:

# if: ${{ false }}
# name: Test (Win/HeirCC)
# runs-on: windows-latest
# needs: windows-build
Expand Down Expand Up @@ -199,6 +201,7 @@ jobs:
# cd qa\pytest_komodo
# start_ci.bat cc_modules\test_heir.py
#windows-test-channels-cc:
# if: ${{ false }}

# name: Test (Win/ChannelsCC)
# runs-on: windows-latest
Expand Down
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pkgconfig_DATA = libzcashconsensus.pc
endif


BITCOIND_BIN=$(top_builddir)/src/komodod$(EXEEXT)
BITCOIN_CLI_BIN=$(top_builddir)/src/komodo-cli$(EXEEXT)
BITCOIND_BIN=$(top_builddir)/src/marmarad$(EXEEXT)
BITCOIN_CLI_BIN=$(top_builddir)/src/marmara-cli$(EXEEXT)
#WALLET_UTILITY_BIN=$(top_builddir)/src/wallet-utility$(EXEEXT)
BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EXEEXT)

Expand Down
Loading

0 comments on commit 49dd7c3

Please sign in to comment.