diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8259ea38..02753374 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,7 +26,7 @@ jobs: if: env.GIT_DIFF uses: dart-lang/setup-dart@v1.4 with: - sdk: 3.0.0 + sdk: 3.2.0 - name: Get dependencies 📥 if: env.GIT_DIFF diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d869e221..21feadfb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Setup 🔨 uses: dart-lang/setup-dart@v1.4 with: - sdk: 3.0.0 + sdk: 3.2.0 - name: Get dependencies 📥 run: dart pub get diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0dc2f150..d1ceef96 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: - name: Setup 🔨 uses: dart-lang/setup-dart@v1.4 with: - sdk: 3.0.0 + sdk: 3.2.0 - name: Get dependencies 📥 run: dart pub get diff --git a/pubspec.yaml b/pubspec.yaml index 1d856923..a3f783a7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: Pure Dart library to easily integrate with any Cosmos-based chain. version: 0.41.4+1 homepage: https://github.com/alan-sdk/alan.dart environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=3.2.0 <4.0.0" dependencies: analyzer: ^5.12.0 @@ -15,7 +15,7 @@ dependencies: fixnum: ^1.0.0 grpc: ^3.0.0 hex: ^0.2.0 - http: ^0.13.0 + http: ^1.2.0 json_annotation: ^4.4.0 json_serializable: ^6.2.0 meta: ^1.3.0 @@ -28,3 +28,6 @@ dev_dependencies: mock_web_server: ^5.0.0-nullsafety.1 test: ^1.16.8 lints: ^2.1.0 + +dependency_overrides: + watcher: ^1.1.0 diff --git a/test/transactions/send/tx_sender_test.mocks.dart b/test/transactions/send/tx_sender_test.mocks.dart index 829155b3..f906c74b 100644 --- a/test/transactions/send/tx_sender_test.mocks.dart +++ b/test/transactions/send/tx_sender_test.mocks.dart @@ -72,11 +72,13 @@ class MockServiceClient extends _i1.Mock implements _i4.ServiceClient { _i2.ResponseFuture<_i5.GetBlockWithTxsResponse> getBlockWithTxs( _i5.GetBlockWithTxsRequest? request, {_i2.CallOptions? options}) => - (super.noSuchMethod( - Invocation.method(#getBlockWithTxs, [request], {#options: options}), - returnValue: - _FakeResponseFuture_0<_i5.GetBlockWithTxsResponse>()) as _i2 - .ResponseFuture<_i5.GetBlockWithTxsResponse>); + (super + .noSuchMethod( + Invocation.method( + #getBlockWithTxs, [request], {#options: options}), + returnValue: + _FakeResponseFuture_0<_i5.GetBlockWithTxsResponse>()) + as _i2.ResponseFuture<_i5.GetBlockWithTxsResponse>); @override _i3.ClientCall $createCall( _i2.ClientMethod? method, _i6.Stream? requests, diff --git a/test/x/node/querier_test.mocks.dart b/test/x/node/querier_test.mocks.dart index 30f2bdff..9715c15e 100644 --- a/test/x/node/querier_test.mocks.dart +++ b/test/x/node/querier_test.mocks.dart @@ -58,20 +58,24 @@ class MockServiceClient extends _i1.Mock implements _i4.ServiceClient { _i2.ResponseFuture<_i5.GetLatestBlockResponse> getLatestBlock( _i5.GetLatestBlockRequest? request, {_i2.CallOptions? options}) => - (super.noSuchMethod( - Invocation.method(#getLatestBlock, [request], {#options: options}), - returnValue: - _FakeResponseFuture_0<_i5.GetLatestBlockResponse>()) as _i2 - .ResponseFuture<_i5.GetLatestBlockResponse>); + (super + .noSuchMethod( + Invocation.method( + #getLatestBlock, [request], {#options: options}), + returnValue: + _FakeResponseFuture_0<_i5.GetLatestBlockResponse>()) + as _i2.ResponseFuture<_i5.GetLatestBlockResponse>); @override _i2.ResponseFuture<_i5.GetBlockByHeightResponse> getBlockByHeight( _i5.GetBlockByHeightRequest? request, {_i2.CallOptions? options}) => - (super.noSuchMethod( - Invocation.method(#getBlockByHeight, [request], {#options: options}), - returnValue: - _FakeResponseFuture_0<_i5.GetBlockByHeightResponse>()) as _i2 - .ResponseFuture<_i5.GetBlockByHeightResponse>); + (super + .noSuchMethod( + Invocation.method( + #getBlockByHeight, [request], {#options: options}), + returnValue: + _FakeResponseFuture_0<_i5.GetBlockByHeightResponse>()) + as _i2.ResponseFuture<_i5.GetBlockByHeightResponse>); @override _i2.ResponseFuture<_i5.GetLatestValidatorSetResponse> getLatestValidatorSet( _i5.GetLatestValidatorSetRequest? request,