Skip to content

Commit

Permalink
Updated some dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidM-D committed May 10, 2024
1 parent 23dd48d commit fbf299f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lake-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ repository.workspace = true

[dependencies]
anyhow = "1.0.51"
near-crypto = "0.17.0"
near-primitives-core = "0.17.0"
near-primitives = "0.17.0"
near-indexer-primitives = "0.17.0"
near-crypto = "0.21.2"
near-primitives-core = "0.21.2"
near-primitives = "0.21.2"
near-indexer-primitives = "0.21.2"
paste = "1.0.12"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.75"
Expand Down
4 changes: 2 additions & 2 deletions lake-primitives/src/types/delegate_actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ impl DelegateDeleteAccount {
impl DelegateAction {
// Tries to convert a `near_primitives::delegate_action::DelegateAction` into a [Vec<DelegateAction>].
pub fn try_from_delegate_action(
delegate_action: &near_primitives::delegate_action::DelegateAction,
delegate_action: &near_primitives::action::delegate::DelegateAction,
) -> Result<Vec<Self>, &'static str> {
let mut actions = Vec::with_capacity(delegate_action.actions.len());

for nearcore_action in delegate_action.clone().actions {
let action = match views::ActionView::from(
<near_primitives::delegate_action::NonDelegateAction as Into<
<near_primitives::action::delegate::NonDelegateAction as Into<
near_primitives::transaction::Action,
>>::into(nearcore_action),
) {
Expand Down

0 comments on commit fbf299f

Please sign in to comment.