Skip to content

Conversation

@dguido
Copy link
Member

@dguido dguido commented Jan 20, 2026

Summary

  • Removes the deprecated truffle export format
  • Removes export_to_truffle function from truffle.py
  • Removes truffle export registration from all_export.py

Rationale: The Truffle export format was limited (required exactly 1 compilation unit) and the Truffle ecosystem has declined significantly. Users should use standard or solc export formats instead.

Fixes #383

Test plan

  • Verify --export-format truffle now raises an error with available formats listed
  • Verify standard and solc exports still work
  • Verify Truffle platform compilation still works (only export removed)

🤖 Generated with Claude Code

Remove the deprecated truffle export format. The truffle export was
limited to single compilation units and the Truffle ecosystem has
declined. Users needing artifact exports should use the standard or
solc formats instead.

Fixes #383

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Update CI test scripts to use solc export format instead of the removed
truffle format. The solc format output is processed by process_combined_solc.js
to normalize paths, then compared against expected output.

- ci_test_solc.sh: Use solc format with processing
- ci_test_solc_multi_file.sh: Use solc format only
- ci_test_hardhat_multi_file.sh: Use solc format only
- Remove truffle format expected files (A.json, B.json, etc.)
- Update solc-demo.json to use normalized solc format output

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@smonicas smonicas merged commit 9ea880c into master Jan 23, 2026
64 checks passed
@smonicas smonicas deleted the fix/383-remove-truffle-export branch January 23, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove truffle export format

3 participants