Skip to content
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
cc7c5df
feat: Implement sustainable MOET redemption mechanism (1:1 parity)
kgrgpg Nov 4, 2025
505a496
chore: Update .gitignore for PR drafts and build artifacts
kgrgpg Nov 4, 2025
13774d8
refactor: Apply Cadence best practices - remove unnecessary patterns
kgrgpg Nov 4, 2025
ebf971a
test: Add comprehensive test suite for RedemptionWrapper
kgrgpg Nov 4, 2025
3fa0a19
test: Add test infrastructure and manual test plan
kgrgpg Nov 4, 2025
acaba28
chore: Add RedemptionWrapper to flow.json and document testing status
kgrgpg Nov 4, 2025
d57c139
fix: Remove invalid testnet alias from RedemptionWrapper in flow.json
kgrgpg Nov 4, 2025
cf73092
chore: Remove repo-wide testing status documentation
kgrgpg Nov 4, 2025
18d401c
Merge branch 'fix/rebalance-tests-flowalp-submodule' into moet-redempโ€ฆ
kgrgpg Nov 7, 2025
19f7a56
fix: Update redemption tests to use FlowALP and fix test infrastructure
kgrgpg Nov 7, 2025
640f4cc
ci: Add GitHub Actions workflow for redemption tests
kgrgpg Nov 7, 2025
562db39
feat: Complete redemption test fixes - all tests passing
kgrgpg Nov 7, 2025
82024f0
Merge branch 'main' into moet-redemption
kgrgpg Nov 7, 2025
20da658
test: Comment out flaky daily_limit_circuit_breaker test
kgrgpg Nov 7, 2025
26ebbe9
refactor: Address PR comments (Oracle abstraction, naming, safe redemโ€ฆ
kgrgpg Nov 19, 2025
7ad4002
chore: organize documentation and PR drafts
kgrgpg Nov 19, 2025
8c250f1
merge: main into moet-redemption
kgrgpg Nov 19, 2025
c0041f0
merge: pull latest main into moet-redemption
kgrgpg Nov 19, 2025
4f52b65
fix: remove leftover merge marker in test_helpers
kgrgpg Nov 19, 2025
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
57 changes: 57 additions & 0 deletions .github/workflows/redemption_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: MOET Redemption Tests

on:
push:
branches:
- moet-redemption
pull_request:
branches:
- main
- moet-redemption

jobs:
redemption-tests:
name: Redemption Wrapper Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.23.x"

- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Install Flow CLI
run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"

- name: Flow CLI Version
run: flow version

- name: Update PATH
run: echo "/root/.local/bin" >> $GITHUB_PATH

- name: Install dependencies
run: flow deps install --skip-alias --skip-deployments

- name: Run Redemption Tests
run: flow test --cover --covercode="contracts" --coverprofile="redemption-coverage.lcov" ./cadence/tests/redemption_wrapper_test.cdc

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./redemption-coverage.lcov
flags: redemption
name: redemption-coverage

Loading