This commit is contained in:
Sergio Chouhy 2025-12-02 12:12:56 -03:00
parent ce9cadc46d
commit dcef017f9b
2 changed files with 3 additions and 2 deletions

View File

@ -639,7 +639,7 @@ mod tests {
AccountWithMetadata {
account: Account {
// Definition ID with
data: vec![0; TOKEN_DEFINITION_DATA_SIZE - 16]
data: [0; TOKEN_DEFINITION_DATA_SIZE - 16]
.into_iter()
.chain(u128::to_le_bytes(1000))
.collect(),

View File

@ -107,7 +107,8 @@ impl Program {
pub fn pinata_token() -> Self {
use crate::program_methods::PINATA_TOKEN_ELF;
Self::new(PINATA_TOKEN_ELF.to_vec()).expect("pinata token elf is defined in risc0 build of `program_methods`")
Self::new(PINATA_TOKEN_ELF.to_vec())
.expect("pinata token elf is defined in risc0 build of `program_methods`")
}
}