Skip to content

Commit

Permalink
Merge branch 'master' into chore/merge-develop-to-next-2
Browse files Browse the repository at this point in the history
  • Loading branch information
jcnelson committed Oct 27, 2022
2 parents a07f048 + a0393e4 commit c76cb77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This release will contain consensus-breaking changes.

### Changed

- The new minimum Rust version is 1.61
- The act of walking the mempool will now cache address nonces in RAM and to a
temporary mempool table used for the purpose, instead of unconditionally
querying them from the chainstate MARF. This builds upon improvements to mempool
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ keywords = [ "stacks", "stx", "bitcoin", "crypto", "blockstack", "decentralized"
readme = "README.md"
resolver = "2"
edition = "2021"
rust-version = "1.61"

[profile.release]
debug = true
Expand Down
4 changes: 3 additions & 1 deletion clarity/src/vm/ast/traits_resolver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ impl TraitsResolver {
| DefineFunctions::PersistedVariable
| DefineFunctions::FungibleToken
| DefineFunctions::NonFungibleToken => {
self.probe_for_generics(args[1..].to_vec(), &mut referenced_traits, false)?;
if args.len() > 0 {
self.probe_for_generics(&args[1..], &mut referenced_traits, false)?;
}
}
};
}
Expand Down

0 comments on commit c76cb77

Please sign in to comment.