Skip to content

Commit 6a5b1c4

Browse files
authored
[message-buffer 9/X] - Rename "accumulator" to message (#777)
* refactor(message-buffer): rename accumulator-input to message-buffer refactor any names with accumulator to message * refactor(message-buffer): change accumulator seed to message
1 parent 5a90ad9 commit 6a5b1c4

File tree

33 files changed

+160
-176
lines changed

33 files changed

+160
-176
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@ repos:
6565
entry: cargo +nightly fmt --manifest-path ./hermes/Cargo.toml --all -- --config-path rustfmt.toml
6666
pass_filenames: false
6767
files: hermes
68-
# Hooks for accumulator updater contract
69-
- id: cargo-fmt-accumulator-updater
70-
name: Cargo format for accumulator updater contract
68+
# Hooks for message buffer contract
69+
- id: cargo-fmt-message-buffer
70+
name: Cargo format for message buffer contract
7171
language: "rust"
72-
entry: cargo +nightly fmt --manifest-path ./accumulator_updater/Cargo.toml --all -- --config-path rustfmt.toml
72+
entry: cargo +nightly fmt --manifest-path ./message_buffer/Cargo.toml --all -- --config-path rustfmt.toml
7373
pass_filenames: false
7474
files: accumulator_updater
75-
- id: cargo-clippy-accumulator-updater
76-
name: Cargo clippy for accumulator-updater contract
75+
- id: cargo-clippy-message-buffer
76+
name: Cargo clippy for message buffer contract
7777
language: "rust"
78-
entry: cargo +nightly clippy --manifest-path ./accumulator_updater/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
78+
entry: cargo +nightly clippy --manifest-path ./message_buffer/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
7979
pass_filenames: false
8080
files: accumulator_updater
8181
# Hooks for solana receiver contract

accumulator_updater/programs/accumulator_updater/src/state/mod.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

accumulator_updater/Anchor.toml renamed to message_buffer/Anchor.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
seeds = true
33
skip-lint = false
44
[programs.localnet]
5-
accumulator_updater = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"
5+
message_buffer = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"
66
mock_cpi_caller = "Dg5PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"
77

88
[registry]

accumulator_updater/Cargo.lock renamed to message_buffer/Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)