Skip to content

Commit

Permalink
dep: bump cainome to 0.14.12 (#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy authored Jan 29, 2025
1 parent 13ff596 commit 0adbcdd
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 25 deletions.
126 changes: 112 additions & 14 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ debug = true
inherits = "release"

[workspace.dependencies]
cainome = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.4.11", features = [ "abigen-rs" ] }
cainome = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.4.12", features = [ "abigen-rs" ] }
cainome-cairo-serde = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.4.11" }
dojo-utils = { path = "crates/dojo/utils" }

Expand Down
62 changes: 52 additions & 10 deletions bin/katana/src/cli/init/deployment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,58 @@ type InitializerAccount = SingleOwnerAccount<RpcProvider, LocalWallet>;
#[rustfmt::skip]
abigen!(
AppchainContract,
"[{\"type\":\"function\",\"name\":\"set_program_info\",\"inputs\":[{\"name\":\"\
program_hash\",\"type\":\"core::Felt\"},{\"name\":\"config_hash\",\"type\":\"\
core::Felt\"}],\"outputs\":[],\"state_mutability\":\"external\"},{\"type\":\"\
function\",\"name\":\"set_facts_registry\",\"inputs\":[{\"name\":\"address\",\"type\"\
:\"core::starknet::contract_address::ContractAddress\"}],\"outputs\":[],\"\
state_mutability\":\"external\"},{\"type\":\"function\",\"name\":\"\
get_facts_registry\",\"inputs\":[],\"outputs\":[{\"type\":\"\
core::starknet::contract_address::ContractAddress\"}],\"state_mutability\":\"view\"},\
{\"type\":\"function\",\"name\":\"get_program_info\",\"inputs\":[],\"outputs\":[{\"\
type\":\"(core::Felt, core::Felt)\"}],\"state_mutability\":\"view\"}]"
[
{
"type": "function",
"name": "set_program_info",
"inputs": [
{
"name": "program_hash",
"type": "core::Felt"
},
{
"name": "config_hash",
"type": "core::Felt"
}
],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "set_facts_registry",
"inputs": [
{
"name": "address",
"type": "core::starknet::contract_address::ContractAddress"
}
],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "get_facts_registry",
"inputs": [],
"outputs": [
{
"type": "core::starknet::contract_address::ContractAddress"
}
],
"state_mutability": "view"
},
{
"type": "function",
"name": "get_program_info",
"inputs": [],
"outputs": [
{
"type": "(core::Felt, core::Felt)"
}
],
"state_mutability": "view"
}
]
);

const PROGRAM_HASH: Felt =
Expand Down

0 comments on commit 0adbcdd

Please # to comment.