# Local dependency did not match its on-chain version

**URL:** <https://forums.sui.io/t/local-dependency-did-not-match-its-on-chain-version/44931>\
**Category:** Move\
**Tags:** feature\
**Created:** [August 10, 2023, 1:16am UTC](https://forums.sui.io/t/local-dependency-did-not-match-its-on-chain-version/44931 "2023-08-10T01:16:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiqicao](https://dub1.discourse-cdn.com/sui/user_avatar/forums.sui.io/shiqicao/32/30473_2.png) [@shiqicao](https://forums.sui.io/u/shiqicao)\
**Post date:** [August 10, 2023, 1:16am UTC](https://forums.sui.io/t/local-dependency-did-not-match-its-on-chain-version/44931/1 "2023-08-10T01:16:23Z")

</div>

I am on local devnet 1.7.0, and move targets to devnet in toml file, got not match error, help please.

move.toml

```auto
[dependencies]
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/devnet" }

```

Errors

```auto
Failed to publish the Move module(s), reason: [warning] Multiple source verification errors found:

- Local dependency did not match its on-chain version at 0000000000000000000000000000000000000000000000000000000000000002::Sui::kiosk
- Local version of dependency 0000000000000000000000000000000000000000000000000000000000000002::kiosk_extension was not found.

This may indicate that the on-chain version(s) of your package's dependencies may behave differently than the source version(s) your package was built against.

Fix this by rebuilding your packages with source versions matching on-chain versions of dependencies, or ignore this warning by re-running with the --skip-dependency-verification flag.

```

---

<div class="post-metadata">

**Author:** ![manosliolios](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@manosliolios](https://forums.sui.io/u/manosliolios)\
**Post date:** [August 15, 2023, 3:50pm UTC](https://forums.sui.io/t/local-dependency-did-not-match-its-on-chain-version/44931/2 "2023-08-15T15:50:00Z")

</div>

Hey @shiqicao ,

These errors typically mean that the **on-chain version of the dependency** is on a different version than the you’ve picked on `rev="framework/devnet"` part of your dependency.

There’s a chance that `framework/devnet` was behind `devnet` branch at the time you tried to do this, but this shouldn’t be the case anymore!
