Skip to content

Commit d9fd3b8

Browse files
authored
chore: Init qustream (#1)
* build with --locked flag to lock dependencies and avoid build errors * rename .github folder * rename docker folder * update CODEOWNERS * rename moonbeam-cli * update homepage * rename runtime * rename zombienet * update readme and scripts * rename typescript packages * update homepage * update main branch from master to qustream * rename main package.json
1 parent 8002c5e commit d9fd3b8

694 files changed

Lines changed: 10733 additions & 6479 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cargo/config.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[alias]
2-
moonbase = " build --release -p moonbeam --no-default-features --features moonbase-native"
3-
moonbase-rococo = " build --release -p moonbeam --no-default-features --features moonbase-native,rococo-native"
4-
moonriver = " build --release -p moonbeam --no-default-features --features moonriver-native"
5-
moonriver-rococo = " build --release -p moonbeam --no-default-features --features moonriver-native,rococo-native"
6-
moonbeam = " build --release -p moonbeam --no-default-features --features moonbeam-native"
7-
moonbeam-rococo = " build --release -p moonbeam --no-default-features --features moonbeam-native,rococo-native"
2+
moonbase = " build --release --locked -p moonbeam --no-default-features --features moonbase-native"
3+
moonbase-rococo = " build --release --locked -p moonbeam --no-default-features --features moonbase-native,rococo-native"
4+
moonriver = " build --release --locked -p moonbeam --no-default-features --features moonriver-native"
5+
moonriver-rococo = " build --release --locked -p moonbeam --no-default-features --features moonriver-native,rococo-native"
6+
qustream = " build --release --locked -p qustream --no-default-features --features moonbeam-native"
7+
qustream-rococo = " build --release --locked -p qustream --no-default-features --features moonbeam-native,rococo-native"
88

99
#
1010
# An auto defined `clippy` feature was introduced,

.github/CODEOWNERS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/.github/ @moonbeam-foundation/moonsong-perm @moonbeam-foundation/opslayer-devops
2-
/tools/github/ @moonbeam-foundation/moonsong-perm @moonbeam-foundation/opslayer-devops
3-
/docker/ @moonbeam-foundation/moonsong-perm @moonbeam-foundation/opslayer-devops
4-
/scripts/ @moonbeam-foundation/moonsong-perm @moonbeam-foundation/opslayer-devops
1+
/.github/ @asphere-xyz/ao_infrastructure
2+
/tools/github/ @asphere-xyz/ao_infrastructure
3+
/docker/ @asphere-xyz/ao_infrastructure
4+
/scripts/ @asphere-xyz/ao_infrastructure

.github/workflow-templates/build-prod-binary/action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build Production Binary
22
description: |
3-
Builds production a moonbeam binary for a given CPU target
3+
Builds production a QuStream binary for a given CPU target
44
55
inputs:
66
target:
@@ -13,24 +13,24 @@ inputs:
1313
runs:
1414
using: "composite"
1515
steps:
16-
- name: Build production moonbeam
16+
- name: Build production QuStream
1717
shell: bash
1818
run: |
19-
# Build moonbeam
19+
# Build QuStream
2020
# (we don't use volumes because of ownership/permissions issues)
2121
docker build \
2222
--tag prod --no-cache \
2323
--build-arg="COMMIT=${{ inputs.ref }}" \
2424
--build-arg="RUSTFLAGS=-C target-cpu=${{ inputs.target }}" \
25-
- < docker/moonbeam-production.Dockerfile
25+
- < docker/qustream-production.Dockerfile
2626
27-
# Copy moonbeam binary
27+
# Copy QuStream binary
2828
docker rm -f dummy 2> /dev/null | true
2929
docker create -ti --name dummy prod bash
30-
docker cp dummy:/moonbeam/moonbeam moonbeam
30+
docker cp dummy:/qustream/qustream qustream
3131
docker rm -f dummy
3232
33-
GLIBC_VERSION="$(objdump -T moonbeam | grep "GLIBC_" | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu | tail -1)"
33+
GLIBC_VERSION="$(objdump -T qustream | grep "GLIBC_" | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu | tail -1)"
3434
3535
if [[ $GLIBC_VERSION == "2.34" ]]; then
3636
echo "✅ Using expected GLIBC version: ${GLIBC_VERSION}";
@@ -46,9 +46,9 @@ runs:
4646
shell: bash
4747
run: |
4848
mkdir -p build
49-
cp moonbeam build/moonbeam-${{ inputs.target }}
49+
cp qustream build/qustream-${{ inputs.target }}
5050
- name: Upload binary
5151
uses: actions/upload-artifact@v4
5252
with:
5353
name: binaries-${{inputs.target}}
54-
path: build/moonbeam-${{inputs.target}}
54+
path: build/qustream-${{inputs.target}}

.github/workflow-templates/cargo-build/action.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Cargo build
22
description: |
3-
Builds moonbeam with given features.
4-
Stores the result in "build/moonbeam" and the runtimes in "runtimes/"
3+
Builds QuStream with given features.
4+
Stores the result in "build/qustream" and the runtimes in "runtimes/"
55
66
inputs:
77
features:
@@ -44,7 +44,7 @@ runs:
4444
shell: bash
4545
run: |
4646
env
47-
params=" --locked --release -p moonbeam"
47+
params=" --locked --release -p qustream"
4848
if [ -n "${{ inputs.features }}" ]; then
4949
params="$params --features ${{ inputs.features }}"
5050
fi
@@ -53,8 +53,8 @@ runs:
5353
- name: Display binary comments
5454
shell: bash
5555
run: |
56-
readelf -p .comment ./target/release/moonbeam
57-
GLIBC_VERSION="$(objdump -T ./target/release/moonbeam | grep "GLIBC_" | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu | tail -1)"
56+
readelf -p .comment ./target/release/qustream
57+
GLIBC_VERSION="$(objdump -T ./target/release/qustream | grep "GLIBC_" | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu | tail -1)"
5858
echo "GLIBC Version: $GLIBC_VERSION"
5959
- name: Display sccache stats
6060
shell: bash
@@ -63,7 +63,7 @@ runs:
6363
shell: bash
6464
run: |
6565
GIT_COMMIT=`git log -1 --format="%H" | cut -c1-7`
66-
MB_VERSION=`./target/release/moonbeam --version`
66+
MB_VERSION=`./target/release/qustream --version`
6767
echo "Checking $MB_VERSION contains $GIT_COMMIT"
6868
echo "$MB_VERSION" | grep $GIT_COMMIT
6969
- name: Save runtimes wasm
@@ -73,8 +73,8 @@ runs:
7373
cp target/release/wbuild/moon*/moon*_runtime.compact.compressed.wasm runtimes/;
7474
mkdir -p uncompressed-runtimes;
7575
cp target/release/wbuild/moon*/moon*_runtime.wasm uncompressed-runtimes/;
76-
- name: Save moonbeam binary
76+
- name: Save QuStream binary
7777
shell: bash
7878
run: |
7979
mkdir -p build
80-
cp target/release/moonbeam build/moonbeam;
80+
cp target/release/qustream build/qustream;

.github/workflow-templates/dev-tests/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Moonwall Build Contracts and Run Tests
22
description: |
3-
Setup and run moonwall Dev tests against a local moonbeam node.
3+
Setup and run moonwall Dev tests against a local QuStream node.
44
55
inputs:
66
moonwall_environment:
@@ -34,7 +34,7 @@ runs:
3434
DEBUG_COLOURS: "1"
3535
NODE_OPTIONS: "--max-old-space-size=12288"
3636
run: |
37-
chmod uog+x target/release/moonbeam
37+
chmod uog+x target/release/qustream
3838
cd test
3939
pnpm install
4040
pnpm compile-solidity

.github/workflow-templates/publish-docker/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ runs:
5050
with:
5151
username: ${{ inputs.dockerhub_username }}
5252
password: ${{ inputs.dockerhub_password }}
53-
- name: Build and push moonbeam
53+
- name: Build and push QuStream
5454
id: docker_build
5555
uses: docker/build-push-action@v6
5656
with:
5757
context: .
58-
file: ./docker/moonbeam.Dockerfile
58+
file: ./docker/qustream.Dockerfile
5959
platforms: linux/amd64
6060
push: true
6161
tags: ${{ inputs.image_tags }}
@@ -67,4 +67,3 @@ runs:
6767
org.opencontainers.image.created=${{ inputs.image_created }}
6868
org.opencontainers.image.revision=${{ inputs.image_revision }}
6969
org.opencontainers.image.licenses=${{ inputs.image_licenses }}
70-

0 commit comments

Comments
 (0)