Skip to content

Commit

Permalink
feat : updated changelog.yml & updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdbytes committed Aug 30, 2024
1 parent 7d17310 commit a124078
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust Test & Coverage
name: E2E test

on:
pull_request_target:
Expand Down Expand Up @@ -63,8 +63,8 @@ jobs:
- name: Running anvil
run: |
# Forking block number : 20607627 on ethereum mainnet
anvil --fork-url ${{ secrets.ETHEREUM_BLAST_RPC_URL }}@20607627
# Forking block number : 20607627 on Ethereum Mainnet
anvil --fork-url ${{ secrets.ETHEREUM_BLAST_RPC_URL }}@20607627 &
- name: Run e2e test
run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Added

- e2e flow test
- alerts module.
- Tests for Settlement client.
- Worker queues to listen for trigger events.
Expand Down
5 changes: 3 additions & 2 deletions e2e-tests/src/localstack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use aws_sdk_eventbridge::types::{InputTransformer, RuleState, Target};
use aws_sdk_sqs::types::QueueAttributeName;
use aws_sdk_sqs::types::QueueAttributeName::VisibilityTimeout;
use bytes::Bytes;
use orchestrator::data_storage::aws_s3::config::{AWSS3ConfigType, S3LocalStackConfig};
use orchestrator::data_storage::aws_s3::config::AWSS3Config;
use orchestrator::data_storage::aws_s3::AWSS3;
use orchestrator::data_storage::{DataStorage, DataStorageConfig};
use orchestrator::queue::job_queue::{
Expand Down Expand Up @@ -173,7 +173,8 @@ impl LocalStack {
}

async fn s3_client(&self) -> Box<dyn DataStorage + Send + Sync> {
Box::new(AWSS3::new(AWSS3ConfigType::WithEndpoint(S3LocalStackConfig::new_from_env())).await)
let aws_config = aws_config::load_from_env().await;
Box::new(AWSS3::new(AWSS3Config::new_from_env(), &aws_config))
}

async fn event_bridge_client(&self) -> aws_sdk_eventbridge::Client {
Expand Down

0 comments on commit a124078

Please sign in to comment.