Researchers have introduced SolBehave, a new benchmark designed to evaluate the behavioral correctness of smart contracts generated by large language models. Current evaluations primarily focus on whether the code compiles, which is insufficient given that deployed smart contracts on platforms like Ethereum cannot be patched. SolBehave employs three methods: differential fuzzing, historical transaction replay, and a novel DCR-graph-guided synthetic transaction replay to test the functional equivalence and intended usage of generated contracts. The study found that while compilation rates varied significantly among seven evaluated open-weight models, only a small fraction of compiled contracts were functionally equivalent to their originals, with Gemma-4-31B showing the best performance. AI
IMPACT Establishes a new standard for evaluating LLM-generated smart contracts, highlighting the gap between compilation and true behavioral correctness.
RANK_REASON The cluster contains an academic paper introducing a new benchmark for evaluating LLM-generated code. [lever_c_demoted from research: ic=1 ai=1.0]
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →