Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
928bf92
chore(deps): bump solar, compilers
DaniPopes Aug 20, 2025
bcbab2e
chore: pin to git
DaniPopes Aug 20, 2025
24506e1
sort
DaniPopes Aug 20, 2025
5b2eb75
chore: bump
DaniPopes Aug 20, 2025
86242f9
bump
DaniPopes Aug 20, 2025
0ae4801
chore: slightly clean up solar utils
DaniPopes Aug 20, 2025
99d2f1d
chore: clippy
DaniPopes Aug 20, 2025
58c5561
chore: don't Graph in configure_pcx
DaniPopes Aug 20, 2025
b1d66b3
docs
DaniPopes Aug 20, 2025
202ab25
fix: source map
DaniPopes Aug 20, 2025
84c5258
docs: Linter docs
DaniPopes Aug 20, 2025
9d49d8d
doc
DaniPopes Aug 21, 2025
92dbc1b
update
DaniPopes Aug 21, 2025
596fe52
Merge branch 'master' into dani/bump-compilers222
DaniPopes Aug 21, 2025
97c50a3
fix
DaniPopes Aug 21, 2025
18947ee
fix: revert graph removal
DaniPopes Aug 22, 2025
3a1cfe7
update
DaniPopes Aug 22, 2025
0181e25
chore: remove visit workaround
DaniPopes Aug 24, 2025
ae3112e
bump
DaniPopes Aug 24, 2025
d299b69
perf: load files in parallel
DaniPopes Aug 24, 2025
1a64c07
Merge remote-tracking branch 'origin/master' into dani/bump-compilers222
DaniPopes Aug 24, 2025
118ca60
bump
DaniPopes Aug 24, 2025
3891be7
fuck you windows-sys
DaniPopes Aug 25, 2025
128fd2e
bump
DaniPopes Aug 25, 2025
18c7a6c
nff
DaniPopes Aug 25, 2025
01e3978
tmp: revert resolve imports
DaniPopes Aug 25, 2025
70eaac4
revert
DaniPopes Aug 25, 2025
23c0251
fix: use foundry_compilers parser
DaniPopes Aug 25, 2025
e9283ef
feat: demo using output.compiler
DaniPopes Aug 25, 2025
514750a
Merge branch 'master' into dani/bump-compilers222
DaniPopes Aug 25, 2025
9825b6f
chore: mega bump, use solar meta crate
DaniPopes Aug 25, 2025
8955eb7
fmt
DaniPopes Aug 25, 2025
2c3a4cc
Merge branch 'master' into dani/bump-compilers222
DaniPopes Aug 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 52 additions & 56 deletions Cargo.lock

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

18 changes: 6 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,13 @@ foundry-wallets = { path = "crates/wallets" }
foundry-linking = { path = "crates/linking" }

# solc & compilation utilities
foundry-block-explorers = { version = "0.20.0", default-features = false }
foundry-compilers = { version = "0.18.3", default-features = false }
foundry-block-explorers = { version = "0.21.0", default-features = false }
foundry-compilers = { version = "0.19.0", default-features = false }
foundry-fork-db = "0.18"
solang-parser = { version = "=0.3.9", package = "foundry-solang-parser" }
solar-ast = { version = "=0.1.5", default-features = false }
solar-parse = { version = "=0.1.5", default-features = false }
solar-interface = { version = "=0.1.5", default-features = false }
solar-sema = { version = "=0.1.5", default-features = false }
solar-data-structures = { version = "=0.1.5", default-features = false }
solar = { package = "solar-compiler", version = "=0.1.6", default-features = false }
# TODO: remove in next solar release: https://github.com/paradigmxyz/solar/pull/444
solar-interface = { version = "=0.1.6", default-features = false }

## alloy
alloy-consensus = { version = "1.0.23", default-features = false }
Expand Down Expand Up @@ -414,8 +412,4 @@ idna_adapter = "=1.1.0"
# foundry-fork-db = { git = "https://github.com/foundry-rs/foundry-fork-db", rev = "eee6563" }

## solar
# solar-ast = { git = "https://github.com/paradigmxyz/solar.git", branch = "main" }
# solar-parse = { git = "https://github.com/paradigmxyz/solar.git", branch = "main" }
# solar-interface = { git = "https://github.com/paradigmxyz/solar.git", branch = "main" }
# solar-sema = { git = "https://github.com/paradigmxyz/solar.git", branch = "main" }
# solar-data-structures = { git = "https://github.com/paradigmxyz/solar.git", branch = "main" }
# solar = { package = "solar-compiler", git = "https://github.com/paradigmxyz/solar.git", branch = "main" }
2 changes: 1 addition & 1 deletion crates/chisel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ semver.workspace = true
serde_json.workspace = true
serde.workspace = true
solang-parser.workspace = true
solar-parse.workspace = true
solar.workspace = true
strum = { workspace = true, features = ["derive"] }
time = { version = "0.3", features = ["formatting"] }
yansi.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions crates/chisel/src/solidity_helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use rustyline::{
hint::Hinter,
validate::{ValidationContext, ValidationResult, Validator},
};
use solar_parse::{
use solar::parse::{
Lexer,
interface::Session,
token::{Token, TokenKind},
Expand Down Expand Up @@ -173,7 +173,7 @@ impl SolidityHelper {

/// Enters the session.
fn enter(&self, f: impl FnOnce(&Session)) {
self.sess.enter(|| f(&self.sess));
self.sess.enter_sequential(|| f(&self.sess));
}
}

Expand Down Expand Up @@ -238,7 +238,7 @@ impl Helper for SolidityHelper {}
#[expect(non_upper_case_globals)]
#[deny(unreachable_patterns)]
fn token_style(token: &Token) -> Style {
use solar_parse::{
use solar::parse::{
interface::kw::*,
token::{TokenKind::*, TokenLitKind::*},
};
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ foundry-wallets.workspace = true
foundry-block-explorers.workspace = true

foundry-compilers = { workspace = true, features = ["full"] }
solar-sema.workspace = true
solar.workspace = true

alloy-eips.workspace = true
alloy-dyn-abi.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/opts/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mod paths;
pub use self::paths::ProjectPathOpts;

mod utils;
pub use self::utils::{solar_pcx_from_build_opts, solar_pcx_from_solc_project};
pub use self::utils::{configure_pcx, configure_pcx_from_solc};

// A set of solc compiler settings that can be set via command line arguments, which are intended
// to be merged into an existing `foundry_config::Config`.
Expand Down
Loading
Loading