Skip to content

Commit

Permalink
refactor: rename to Temper (#21)
Browse files Browse the repository at this point in the history
* rename to temper

* chore: fmt

* smaller cover image
  • Loading branch information
devanoneth authored Oct 5, 2023
1 parent a2b8ce5 commit 59a7ec5
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 32 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Contributing to transaction-simulator
## Contributing to Temper

We welcome all contributions! We just ask a few small things.

Expand Down
44 changes: 22 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[package]
name = "transaction-simulator"
name = "enso-temper"
version = "0.1.0"
edition = "2021"
authors = ["Enso Finance"]
license = "MIT"
description = "Temper is an Ethereum Transaction Simulator"
homepage = "https://github.com/EnsoFinance/temper"
repository = "https://github.com/EnsoFinance/temper"

[dependencies]
# http
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ RUN cargo build --release
FROM centos:8

# Copy the binary from the build stage to the current directory in the new stage
COPY --from=build /app/target/release/transaction-simulator /transaction-simulator
COPY --from=build /app/target/release/temper/temper
EXPOSE 80
CMD ["./transaction-simulator"]
CMD ["./temper"]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Enso Transaction 🧐 Simulator 🧐
# Temper

A simple API which simulates a given transaction request.
**Temper is an Ethereum Transaction Simulator. It provides a super simple HTTP API which simulates a given transaction request against a local EVM.**

[![test](https://github.com/EnsoFinance/transaction-simulator/actions/workflows/test.yaml/badge.svg)](https://github.com/EnsoFinance/transaction-simulator/actions/workflows/test.yaml)
[![test](https://github.com/EnsoFinance/temper/actions/workflows/test.yaml/badge.svg)](https://github.com/EnsoFinance/temper/actions/workflows/test.yaml)

![cover](cover.jpg)

Expand Down
Binary file modified cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::{env, sync::Arc};

use dashmap::DashMap;

use transaction_simulator::{
use enso_temper::{
config::config, errors::handle_rejection, simulate_routes, SharedSimulationState,
};
use warp::Filter;
Expand Down
4 changes: 2 additions & 2 deletions tests/api.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::{fs::File, sync::Arc};

use dashmap::DashMap;
use ethers::types::U256;
use transaction_simulator::{
use enso_temper::{
config::config,
errors::{handle_rejection, ErrorMessage},
simulate_routes,
Expand All @@ -12,6 +11,7 @@ use transaction_simulator::{
},
SharedSimulationState,
};
use ethers::types::U256;
use warp::Filter;

fn filter() -> impl Filter<Extract = (impl warp::Reply,), Error = std::convert::Infallible> + Clone
Expand Down

0 comments on commit 59a7ec5

Please sign in to comment.