Skip to content

feat(week-01): complete counter assignment and quiz#103

Open
HoonilP wants to merge 1 commit into
Bay-17th:mainfrom
HoonilP:gownj/week-01
Open

feat(week-01): complete counter assignment and quiz#103
HoonilP wants to merge 1 commit into
Bay-17th:mainfrom
HoonilP:gownj/week-01

Conversation

@HoonilP

@HoonilP HoonilP commented Apr 13, 2026

Copy link
Copy Markdown

구현 내용

  • Counter.solincrement(), decrement(), reset() 함수 구현
  • decrement()require(count > 0) 조건 추가
  • Quiz 10문제 답변 완료 (State/Account + Solidity 기초)

테스트 결과

  • 5/5 테스트 통과

배운 점

  • Solidity 기본 문법 (public, view, require)
  • 상태 변수와 지역 변수의 차이 (Storage vs Memory)
  • uint256 언더플로우 방지를 위한 require 조건의 중요성

어려웠던 점

  • require로 명시적 에러 메시지를 제공하는 것과 Solidity 0.8의 자동 오버플로우 체크의 차이를 이해하는 것

- Implement increment(), decrement(), reset() in Counter.sol
- Add require check for decrement below zero
- Answer all 10 quiz questions (State/Account + Solidity basics)
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.

1 participant