near / pagoda-relayer-rs

Rust Reference Implementation of Relayer for NEP-366 Meta Transactions
MIT License
32 stars 15 forks source link

chore: Align Rust versions #81

Closed r-near closed 7 months ago

r-near commented 7 months ago
anthony-near commented 7 months ago

@r-near did you test the docker build of this locally to make sure there are no more errors or dependency issues with the updated rustc version?

r-near commented 7 months ago

@r-near did you test the docker build of this locally to make sure there are no more errors or dependency issues with the updated rustc version?

Yep!

➜  pagoda-relayer-rs git:(linting-fixes) docker compose build
[+] Building 81.5s (15/15) FINISHED                                                                                                                                     docker:desktop-linux
 => [relayer internal] load build definition from Dockerfile                                                                                                                            0.0s
 => => transferring dockerfile: 451B                                                                                                                                                    0.0s
 => [relayer internal] load metadata for docker.io/library/ubuntu:22.04                                                                                                                 1.1s
 => [relayer internal] load metadata for docker.io/library/rust:1.77                                                                                                                    1.8s
 => [relayer internal] load .dockerignore                                                                                                                                               0.0s
 => => transferring context: 583B                                                                                                                                                       0.0s
 => [relayer builder 1/5] FROM docker.io/library/rust:1.77@sha256:00e330d2e2cdada2b75e9517c8359df208b3c880c5e34cb802c120083d50af35                                                     12.5s
 => => resolve docker.io/library/rust:1.77@sha256:00e330d2e2cdada2b75e9517c8359df208b3c880c5e34cb802c120083d50af35                                                                      0.0s
 => => sha256:00e330d2e2cdada2b75e9517c8359df208b3c880c5e34cb802c120083d50af35 6.22kB / 6.22kB                                                                                          0.0s
 => => sha256:c956461f6cb5f354db5103f100b3a2f36716df5156502d3d32412e076a7627b1 1.94kB / 1.94kB                                                                                          0.0s
 => => sha256:5edc61a5562e0d81ae7366a99e5912697cca343476cee65d2745670a6919421a 3.98kB / 3.98kB                                                                                          0.0s
 => => sha256:6ee0baa58a3d368515336c1b5c1cade29c975e1b49a832f19e22f4c46f4a23a7 49.59MB / 49.59MB                                                                                        1.2s
 => => sha256:992a857ef57584af4efb4c62d68456f1e8513c95d6248fd796a9ea7f45da4d79 23.58MB / 23.58MB                                                                                        4.8s
 => => sha256:3861a6536e4e911503e7d2fc8f93228491ba45d1e5def0d2f3723e32e03d7466 63.99MB / 63.99MB                                                                                        4.5s
 => => sha256:e5e6faea05ead1ac9cd3244827816e2385b0d62299f7937a4574fc5a9651624c 202.54MB / 202.54MB                                                                                      6.6s
 => => extracting sha256:6ee0baa58a3d368515336c1b5c1cade29c975e1b49a832f19e22f4c46f4a23a7                                                                                               1.1s
 => => sha256:938418d5cf5d9bf264ac119aceba4b84d7f1eb82f7da9596c1bccba4337a2df2 241.63MB / 241.63MB                                                                                      9.3s
 => => extracting sha256:992a857ef57584af4efb4c62d68456f1e8513c95d6248fd796a9ea7f45da4d79                                                                                               0.3s
 => => extracting sha256:3861a6536e4e911503e7d2fc8f93228491ba45d1e5def0d2f3723e32e03d7466                                                                                               1.3s
 => => extracting sha256:e5e6faea05ead1ac9cd3244827816e2385b0d62299f7937a4574fc5a9651624c                                                                                               3.2s
 => => extracting sha256:938418d5cf5d9bf264ac119aceba4b84d7f1eb82f7da9596c1bccba4337a2df2                                                                                               2.5s
 => [relayer internal] load build context                                                                                                                                               0.0s
 => => transferring context: 98.30kB                                                                                                                                                    0.0s
 => [relayer stage-1 1/4] FROM docker.io/library/ubuntu:22.04@sha256:77906da86b60585ce12215807090eb327e7386c8fafb5402369e421f44eff17e                                                   0.0s
 => [relayer builder 2/5] WORKDIR /usr/src/relayer                                                                                                                                      0.1s
 => [relayer builder 3/5] COPY Cargo.toml Cargo.lock ./                                                                                                                                 0.0s
 => [relayer builder 4/5] COPY src ./src                                                                                                                                                0.0s
 => [relayer builder 5/5] RUN cargo build --release                                                                                                                                    66.9s
 => CACHED [relayer stage-1 2/4] WORKDIR /relayer-app                                                                                                                                   0.0s
 => CACHED [relayer stage-1 3/4] RUN apt-get update && apt-get install -y     openssl     ca-certificates     jq     && rm -rf /var/lib/apt/lists/*                                     0.0s
 => [relayer stage-1 4/4] COPY --from=builder /usr/src/relayer/target/release/relayer .                                                                                                 0.0s
 => [relayer] exporting to image                                                                                                                                                        0.0s
 => => exporting layers                                                                                                                                                                 0.0s
 => => writing image sha256:b25beb53581110365afd19d972f88151b82352598528af467e029ac4f261c888                                                                                            0.0s
 => => naming to docker.io/library/pagoda-relayer-rs-relayer                                                                                                                            0.0s
➜  pagoda-relayer-rs git:(linting-fixes) docker compose up relayer
[+] Running 1/0
 ✔ Container pagoda-relayer-rs-relayer-1  Recreated                                                                                                                                     0.0s 
Attaching to relayer-1
relayer-1  | Using DEFAULT network environment: testnet
relayer-1  | Using DEFAULT port: 3030
relayer-1  | Using DEFAULT relayer account ID: nomnomnom.testnet
relayer-1  | Using DEFAULT shared storage account ID: shared_storage.testnet
relayer-1  | Using DEFAULT keys filename: "./account_keys/nomnomnom.testnet.json"
relayer-1  | Using DEFAULT shared storage keys filename: "./account_keys/shared_storage.testnet.json"
relayer-1  | Using DEFAULT for use_whitelisted_contracts: false
relayer-1  | Using DEFAULT (empty) whitelisted_contracts list
relayer-1  | Using DEFAULT for use_whitelisted_senders: false
relayer-1  | Using DEFAULT (empty) whitelisted_senders list
relayer-1  | Using DEFAULT for use_redis: false
relayer-1  | Using DEFAULT Redis URL: redis://127.0.0.1:6379
relayer-1  | Using DEFAULT for use_fastauth_features: false
relayer-1  | Using DEFAULT for use_pay_with_ft: false
relayer-1  | Using DEFAULT for use_shared_storage: false
relayer-1  | Using DEFAULT burn address: default_relayer.testnet
relayer-1  | Using DEFAULT social db contract ID: social_db.testnet
relayer-1  | Using DEFAULT for flametrace_performance: false
relayer-1  | Using DEFAULT for use_exchange: false
relayer-1  | 2024-03-27T21:22:13.032798Z  INFO relayer: default tracing setup with flametrace performance DISABLED
relayer-1  | 2024-03-27T21:22:13.032850Z DEBUG near_jsonrpc_client: initialized a new JSONRPC client connector    
relayer-1  | 2024-03-27T21:22:13.063118Z DEBUG near_jsonrpc_client: returned a new JSONRPC client handle    
relayer-1  | 2024-03-27T21:22:13.063150Z DEBUG near_jsonrpc_client: returned a new JSONRPC client handle    
relayer-1  | 2024-03-27T21:22:13.063402Z  INFO relayer: listening on 0.0.0.0:3030