Skip to content

Commit

Permalink
✨ Variable components number (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
notdanilo authored Jan 16, 2025
1 parent 512d27b commit ea1de62
Show file tree
Hide file tree
Showing 23 changed files with 315 additions and 1,196 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish-bolt-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ jobs:
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/arguments/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/bolt-program/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/delegate/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-helpers/attribute/system-template/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-helpers/attribute/world-apply/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/bolt-system/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/bolt-component/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/world/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
Expand Down
28 changes: 2 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resolver = "2"
members = [
"crates/bolt-cli",
"crates/bolt-lang",
"crates/bolt-helpers",
"crates/programs/bolt-component",
"crates/programs/bolt-system",
"crates/programs/world",
Expand All @@ -29,8 +28,6 @@ bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-
bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.2.0" }
bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.2.0" }
bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.2.0" }
bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.2.0" }
bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.2.0" }
bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.2.0" }
world = { path = "crates/programs/world", features = ["cpi"], version = "=0.2.0"}
bolt-system = { path = "crates/programs/bolt-system", features = ["cpi"], version = "=0.2.0"}
Expand Down
254 changes: 0 additions & 254 deletions clients/bolt-sdk/idl/world.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,266 +125,12 @@
},
{
"name": "apply",
"accounts": [
{
"name": "componentProgram",
"isMut": false,
"isSigner": false
},
{
"name": "boltSystem",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent",
"isMut": true,
"isSigner": false
},
{
"name": "authority",
"isMut": false,
"isSigner": false
},
{
"name": "instructionSysvarAccount",
"isMut": false,
"isSigner": false
}
],
"args": [
{
"name": "args",
"type": "bytes"
}
]
},
{
"name": "apply2",
"accounts": [
{
"name": "boltSystem",
"isMut": false,
"isSigner": false
},
{
"name": "componentProgram1",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent1",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram2",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent2",
"isMut": true,
"isSigner": false
},
{
"name": "authority",
"isMut": false,
"isSigner": false
},
{
"name": "instructionSysvarAccount",
"isMut": false,
"isSigner": false
}
],
"args": [
{
"name": "args",
"type": "bytes"
}
]
},
{
"name": "apply3",
"accounts": [
{
"name": "boltSystem",
"isMut": false,
"isSigner": false
},
{
"name": "componentProgram1",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent1",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram2",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent2",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram3",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent3",
"isMut": true,
"isSigner": false
},
{
"name": "authority",
"isMut": false,
"isSigner": false
},
{
"name": "instructionSysvarAccount",
"isMut": false,
"isSigner": false
}
],
"args": [
{
"name": "args",
"type": "bytes"
}
]
},
{
"name": "apply4",
"accounts": [
{
"name": "boltSystem",
"isMut": false,
"isSigner": false
},
{
"name": "componentProgram1",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent1",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram2",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent2",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram3",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent3",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram4",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent4",
"isMut": true,
"isSigner": false
},
{
"name": "authority",
"isMut": false,
"isSigner": false
},
{
"name": "instructionSysvarAccount",
"isMut": false,
"isSigner": false
}
],
"args": [
{
"name": "args",
"type": "bytes"
}
]
},
{
"name": "apply5",
"accounts": [
{
"name": "boltSystem",
"isMut": false,
"isSigner": false
},
{
"name": "componentProgram1",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent1",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram2",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent2",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram3",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent3",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram4",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent4",
"isMut": true,
"isSigner": false
},
{
"name": "componentProgram5",
"isMut": false,
"isSigner": false
},
{
"name": "boltComponent5",
"isMut": true,
"isSigner": false
},
{
"name": "authority",
"isMut": false,
Expand Down
Loading

0 comments on commit ea1de62

Please sign in to comment.