Skip to content

Commit c5769f7

Browse files
Revert "feat: Cleaner gasless implementation" (#405)
Reverts #360 <!-- greptile_comment --> ## Greptile Summary This PR reverts a gasless transaction implementation (#360), restoring traditional fee handling across the codebase. - Changed `LAMPORTS_PER_SIGNATURE` from 0 back to 5000 in `magicblock-bank/src/consts.rs`, re-enabling standard transaction fees - Restored payer account initialization with 1000 SOL in `configs/ephem-*.toml` files, requiring SOL for transaction fees again - Added validation in `magicblock-config/src/errors.rs` to prevent ambiguous account initialization (lamports vs SOL) - Reverted from custom magicblock-svm fork back to official solana-svm v2.2 in `Cargo.toml` - Modified bank and genesis config setup in `magicblock-bank/src/genesis_utils.rs` to restore fee-based transaction processing <!-- /greptile_comment -->
1 parent 84fd7b8 commit c5769f7

File tree

29 files changed

+1268
-1393
lines changed

29 files changed

+1268
-1393
lines changed

.github/workflows/ci-fmt.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches: [master]
44
pull_request:
5+
branches: ["*"]
56
types: [opened, reopened, synchronize, ready_for_review]
67

78
name: Run CI - Format

.github/workflows/ci-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches: [master]
44
pull_request:
5+
branches: ["*"]
56
types: [opened, reopened, synchronize, ready_for_review]
67

78
name: Run CI - Lint

.github/workflows/ci-test-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches: [master]
44
pull_request:
5+
branches: ["*"]
56
types: [opened, reopened, synchronize, ready_for_review]
67

78
name: Run CI - Integration Tests

.github/workflows/ci-test-unit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches: [master]
44
pull_request:
5+
branches: ["*"]
56
types: [opened, reopened, synchronize, ready_for_review]
67

78
name: Run CI - Unit Tests

0 commit comments

Comments
 (0)