Skip to content

Commit

Permalink
Publish as crate (#332)
Browse files Browse the repository at this point in the history
* move random-number-generator into starknet-devnet-core

* removed tests for already removed case of generating private keys with seed 123

* removed tests according to predeployed accounts, because they were bound in some way to seed 123 and now this seed is not used anymore

* refactor some methods because they dont need to return Result

* removed json schema dependency because its unused

* remove unused file

* return test for checking  seeds equality should translate to generated numbers equality

* test improvement

* add one test

* copy anvil-rpc package into starknet-devnet-server

* updated blockifier with version from crates.io

* replaced starknet-rs with versions from crates.io

* metadata to cargo toml

* remove cairo-felt

* add license file and description to starknet-devnet-core

* add cairo-lang dependencies to starknet-devnet-types to be able to lock the specific version of cairo-lang

* set crates versions to 0.0.1

* specified version for starknet-devnet-types in workspace toml

* specified version for starknet-devnet-core in workspace toml

* starknet-devnet-server metadata

* update starknet-devnet-server in workspace toml

* starknet-devnet-cli metadata

* change starknet-devnet-cli to starknet-devnet

* remove config.toml and replace it with constants

* updated versions

* updated ref

* updated version of starknet-devnet

* renamed starknet-devnet-cli to starknet-devnet

* reorder packages in members section based

* rename script

* change script

* add environment variable to build scripts

* add new workflow

* comment out main workflow

* docker images build

* renamings

* readme update

* readme update 

* changed README.md 

* removed key in yml file

* added env variable to script

* updated metadata

* removed line

* add new line 

* whitespaces 

* hardcoding 

* edit publish cratesio new versions script
  • Loading branch information
marioiordanov committed Feb 7, 2024
1 parent 6addb89 commit 791fc72
Show file tree
Hide file tree
Showing 84 changed files with 850 additions and 236 deletions.
3 changes: 0 additions & 3 deletions .cargo/config.toml

This file was deleted.

14 changes: 9 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,21 @@ jobs:
ARCH_SUFFIX: -arm
REMOTE: ""

create-joint-image-manifest:
tag-and-create-joint-image-manifest:
docker:
- image: cimg/base:2021.04
- image: cimg/rust:1.70.0
resource_class: medium
steps:
- checkout
- setup_remote_docker:
version: docker23
- run:
name: Create and push joint image manifest
command: ./docker/create_joint_image_manifest.sh
name: Publish new versions to crates.io
command: ./scripts/publish_cratesio_new_versions.sh

- run:
name: Create tags and push joint image manifests
command: ./docker/tag_images_and_create_joint_image_manifests.sh

# Orchestrate jobs using workflows
# See: https://circleci.com/docs/configuration-reference/#workflows
Expand All @@ -120,5 +124,5 @@ workflows:
<<: *on_main
- image-build-arm:
<<: *on_main
- create-joint-image-manifest:
- tag-and-create-joint-image-manifest:
<<: *on_main_after_test_and_build
150 changes: 54 additions & 96 deletions Cargo.lock

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

Loading

0 comments on commit 791fc72

Please sign in to comment.