Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ametel01 committed Apr 7, 2024
1 parent 5755757 commit c013dd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions governance/src/systems/timelock/contract.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ mod timelock {
let params = get!(world, get_contract_address(), TimelockParams);
assert!(
get_caller_address() == params.admin,
"Timelock::queueTransaction: Call must come from admin."
"Timelock::queue_transaction: Call must come from admin."
);
assert!(
eta >= get_block_timestamp() + params.delay,
"Timelock::queueTransaction: Estimated execution block must satisfy delay."
"Timelock::queue_transaction: Estimated execution block must satisfy delay."
);
set!(
world,
Expand Down
3 changes: 1 addition & 2 deletions governance/src/systems/token/contract.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ mod governancetoken {
Allowances, Metadata, TotalSupply, Balances, Delegates, NumCheckpoints, Checkpoints
};
use governance::systems::token::interface::IGovernanceToken;
use integer::BoundedInt;
use starknet::{
ContractAddress, get_caller_address, get_contract_address,
info::{get_block_number, get_execution_info},
};
use integer::BoundedInt;
use poseidon::poseidon_hash_span;

impl GovernanceTokenImpl of IGovernanceToken<ContractState> {
fn constructor(
Expand Down

0 comments on commit c013dd3

Please sign in to comment.