Skip to content

Commit 6e977c4

Browse files
authored
chore(eth-bytecode-db): bump sea-orm to v1.1.0 (#1094)
* chore(eth-bytecode-db): bump sea-orm to v1.1.0 * chore(eth-bytecode-db): bump eth-bytecode-db db entites to sea-orm-cli v1.1.0 * chore(eth-bytecode-db): bump verifier-alliance entities to sea-orm-cli v1.1.0
1 parent 7ea0afb commit 6e977c4

File tree

22 files changed

+204
-137
lines changed

22 files changed

+204
-137
lines changed

eth-bytecode-db/Cargo.lock

Lines changed: 163 additions & 96 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eth-bytecode-db/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ anyhow = { version = "1" }
2929
async-std = { version = "^1" }
3030
async-trait = { version = "0.1" }
3131
blockscout-display-bytes = { version = "1.0" }
32-
blockscout-service-launcher = { version = "0.14.0" }
32+
blockscout-service-launcher = { version = "0.14.0", features = ["database-1_0"] }
3333
bytes = { version = "1.2" }
3434
ethabi = { version = "18.0" }
3535
ethers = { version = "2.0.0" }
@@ -50,8 +50,8 @@ reqwest = { version = "0.11" }
5050
reqwest-middleware = { version = "0.2" }
5151
reqwest-retry = { version = "0.3" }
5252
rstest = { version = "0.18.0" }
53-
sea-orm = { version = "0.12.2" }
54-
sea-orm-migration = { version = "0.12.2" }
53+
sea-orm = { version = "1.1.0" }
54+
sea-orm-migration = { version = "1.1.0" }
5555
semver = { version = "1.0" }
5656
serde = { version = "1" }
5757
serde_json = { version = "1.0" }

eth-bytecode-db/eth-bytecode-db-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ amplify = { workspace = true }
1010
anyhow = { workspace = true }
1111
async-trait = { workspace = true }
1212
blockscout-display-bytes = { workspace = true }
13-
blockscout-service-launcher = { workspace = true, features = [ "database-0_12" ] }
13+
blockscout-service-launcher = { workspace = true }
1414
eth-bytecode-db = { workspace = true }
1515
eth-bytecode-db-proto = { workspace = true }
1616
ethers = { workspace = true, features = ["solc"] }

eth-bytecode-db/eth-bytecode-db/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tracing-subscriber = { workspace = true, features = ["env-filter"], optional = t
4141

4242
[dev-dependencies]
4343
async-trait = { workspace = true }
44-
blockscout-service-launcher = { workspace = true, features = [ "test-database", "database-0_12" ] }
44+
blockscout-service-launcher = { workspace = true, features = [ "test-database" ] }
4545
migration = { workspace = true }
4646
pretty_assertions = { workspace = true }
4747
rstest = { workspace = true }

eth-bytecode-db/eth-bytecode-db/entity/src/bytecode_parts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.2
1+
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0
22
33
use sea_orm::entity::prelude::*;
44

eth-bytecode-db/eth-bytecode-db/entity/src/bytecodes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.2
1+
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0
22
33
use super::sea_orm_active_enums::BytecodeType;
44
use sea_orm::entity::prelude::*;

eth-bytecode-db/eth-bytecode-db/entity/src/events.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.2
1+
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0
22
33
use sea_orm::entity::prelude::*;
44

@@ -9,7 +9,7 @@ pub struct Model {
99
pub id: i64,
1010
pub created_at: DateTime,
1111
pub updated_at: DateTime,
12-
#[sea_orm(column_type = "Binary(BlobSize::Blob(None))")]
12+
#[sea_orm(column_type = "VarBinary(StringLen::None)")]
1313
pub selector: Vec<u8>,
1414
pub name: String,
1515
#[sea_orm(column_type = "JsonBinary")]

eth-bytecode-db/eth-bytecode-db/entity/src/files.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.2
1+
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0
22
33
use sea_orm::entity::prelude::*;
44

eth-bytecode-db/eth-bytecode-db/entity/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.2
1+
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0
22
33
pub mod prelude;
44

eth-bytecode-db/eth-bytecode-db/entity/src/parts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.2
1+
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0
22
33
use super::sea_orm_active_enums::PartType;
44
use sea_orm::entity::prelude::*;
@@ -11,7 +11,7 @@ pub struct Model {
1111
pub created_at: DateTime,
1212
pub updated_at: DateTime,
1313
pub part_type: PartType,
14-
#[sea_orm(column_type = "Binary(BlobSize::Blob(None))")]
14+
#[sea_orm(column_type = "VarBinary(StringLen::None)")]
1515
pub data: Vec<u8>,
1616
#[sea_orm(column_type = "Text")]
1717
pub data_text: String,

0 commit comments

Comments
 (0)