Skip to content

Commit ee60e4c

Browse files
Feat: simpler gasless implementation (#406)
See #360 <!-- greptile_comment --> ## Greptile Summary Major architectural changes to implement native gasless transaction support by removing automatic airdrops and modifying fee handling across the validator. - Modified `magicblock-bank/src/consts.rs` to set `DEFAULT_LAMPORTS_PER_SIGNATURE` to 0 and integrate with patched solana-svm for zero-fee transactions - Removed payer initialization and automatic airdrop functionality from configs and `magicblock-accounts/src/config.rs` - Updated genesis configuration in `magicblock-bank/src/genesis_utils.rs` to support configurable transaction fees - Modified `Cargo.toml` to use custom magicblock-labs/magicblock-svm fork at commit e93eb57 - Added support for executing transactions with non-existent fee payers in `magicblock-bank/tests/transaction_execute.rs` <!-- /greptile_comment --> --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 17c0861 commit ee60e4c

File tree

29 files changed

+1365
-1240
lines changed

29 files changed

+1365
-1240
lines changed

.github/workflows/ci-fmt.yml

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

87
name: Run CI - Format

.github/workflows/ci-lint.yml

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

87
name: Run CI - Lint

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

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

87
name: Run CI - Integration Tests

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

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

87
name: Run CI - Unit Tests

0 commit comments

Comments
 (0)