Connecting…
Connecting…
View all
마인부우의 크립토볼
Telegram · @minebuu_cryptoball

Grok3 성능 테스트

Posted
2025.02.18 19:15
Views
1,090
Forwards
5

질문: solidity에서 bytes를 address로 abi.decode()할 경우 앞 20 bytes가 디코딩 돼? 아니면 뒤 20 bytes가 디코딩돼?

제가 생각한 정답: bytes의 길이는 가변적. 따라서 bytes 데이터의 앞 32 bytes부분을 우선 decode해야함. 다만 address는 32 bytes 보다 작은 20 bytes이기 때문에 32 bytes 중 뒤의 20bytes부분만을 decode함.

chatGPT-4o 답변: https://chatgpt.com/share/67b45ce7-b5e8-8013-9f2d-e146c4736cbd

Grok3 답변: https://grok.com/share/bGVnYWN5_045f7093-f591-40c8-83c8-409598eda0d4

정답을 다시 요약하면 bytes의 앞 32 bytes 중 뒤의 20 bytes를 사용한다는 점. Grok3은 앞 32bytes 중 뒤 20 bytes가 사용된다는 걸 명확히 설명. 반면 chatGPT-4o는 그냥 앞 20bytes가 사용된다고 설명해버림

물론 하나의 질문 예시일뿐이지만 여러 질문을 해보고 있는데 확실히 성능이 좋은 것 같네요.

https://grok.com/

위 사이트에서 사용해보실 수 있습니다

<수정> 근데 이건 한글로 질문했을 때고, 영어로 질문했을 때는 chatgpt도 잘 대답하네요

Views1,090Forwards5View on Telegram